public class LoggerListener extends java.lang.Object implements org.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
All authentication events are logged at the warning level.
Constructor and Description |
---|
LoggerListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLogInteractiveAuthenticationSuccessEvents() |
void |
onApplicationEvent(AbstractAuthenticationEvent event) |
void |
setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents) |
public void onApplicationEvent(AbstractAuthenticationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
public boolean isLogInteractiveAuthenticationSuccessEvents()
public void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)