public class SAMLDefaultLogger extends Object implements SAMLLogger
Constructor and Description |
---|
SAMLDefaultLogger() |
Modifier and Type | Method and Description |
---|---|
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 |
setLogAllMessages(boolean logAllMessages)
Determines if all SAML messages should be logged.
|
void |
setLogErrors(boolean logErrors) |
void |
setLogMessages(boolean logMessages)
Deprecated.
use
setLogAllMessages(boolean) instead |
void |
setLogMessagesOnException(boolean logMessagesOnException)
Determines if SAML messages should be logged when an exception occurs during processing.
|
public void log(String operation, String result, SAMLMessageContext context)
log
in interface SAMLLogger
public void log(String operation, String result, SAMLMessageContext context, Exception e)
log
in interface SAMLLogger
public void log(String operation, String result, SAMLMessageContext context, org.springframework.security.core.Authentication a, Exception e)
log
in interface SAMLLogger
@Deprecated public void setLogMessages(boolean logMessages)
setLogAllMessages(boolean)
insteadlogMessages
- when true whole message will get loggedpublic void setLogAllMessages(boolean logAllMessages)
setLogMessagesOnException(boolean)
has no effect.public void setLogMessagesOnException(boolean logMessagesOnException)
setLogAllMessages(boolean)
is set to true, this has no effect as all messages will be logged regardless of exceptions.public void setLogErrors(boolean logErrors)
logErrors
- when true exceptions will be logged