Spring Security SAML

org.springframework.security.saml.log
Class SAMLDefaultLogger

java.lang.Object
  extended by org.springframework.security.saml.log.SAMLDefaultLogger
All Implemented Interfaces:
SAMLLogger

public class SAMLDefaultLogger
extends Object
implements SAMLLogger

Default Logger implementation sending message logs into standard Log4J logger.

Author:
Vladimir Schaefer

Constructor Summary
SAMLDefaultLogger()
           
 
Method Summary
 void log(String operation, String result, SAMLMessageContext context)
           
 void log(String operation, String result, SAMLMessageContext context, org.springframework.security.core.Authentication a, Exception e)
           
 void log(String operation, String result, SAMLMessageContext context, Exception e)
           
 void setLogErrors(boolean logErrors)
           
 void setLogMessages(boolean logMessages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLDefaultLogger

public SAMLDefaultLogger()
Method Detail

log

public void log(String operation,
                String result,
                SAMLMessageContext context)
Specified by:
log in interface SAMLLogger

log

public void log(String operation,
                String result,
                SAMLMessageContext context,
                Exception e)
Specified by:
log in interface SAMLLogger

log

public void log(String operation,
                String result,
                SAMLMessageContext context,
                org.springframework.security.core.Authentication a,
                Exception e)
Specified by:
log in interface SAMLLogger

setLogMessages

public void setLogMessages(boolean logMessages)
Parameters:
logMessages - when true whole message will get logged

setLogErrors

public void setLogErrors(boolean logErrors)
Parameters:
logErrors - when true exceptions will be logged

Spring Security SAML