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)
-
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)
-