Class LoggerListener
java.lang.Object
org.springframework.security.authentication.event.LoggerListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
public class LoggerListener
extends Object
implements org.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
Outputs authentication-related application events to Commons Logging.
All authentication events are logged at the warning level.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setLogInteractiveAuthenticationSuccessEvents
(boolean logInteractiveAuthenticationSuccessEvents) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
LoggerListener
public LoggerListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
-
isLogInteractiveAuthenticationSuccessEvents
public boolean isLogInteractiveAuthenticationSuccessEvents() -
setLogInteractiveAuthenticationSuccessEvents
public void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
-