Class LoggerListener
- java.lang.Object
-
- org.springframework.security.authentication.event.LoggerListener
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
public class LoggerListener extends java.lang.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
Constructors Constructor Description LoggerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLogInteractiveAuthenticationSuccessEvents()
void
onApplicationEvent(AbstractAuthenticationEvent event)
void
setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(AbstractAuthenticationEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<AbstractAuthenticationEvent>
-
isLogInteractiveAuthenticationSuccessEvents
public boolean isLogInteractiveAuthenticationSuccessEvents()
-
setLogInteractiveAuthenticationSuccessEvents
public void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
-
-