org.springframework.security.authentication.event
Class LoggerListener
java.lang.Object
org.springframework.security.authentication.event.LoggerListener
- All Implemented Interfaces:
- EventListener, ApplicationListener<AbstractAuthenticationEvent>
public class LoggerListener
- extends Object
- implements ApplicationListener<AbstractAuthenticationEvent>
Outputs authentication-related application events to Commons Logging.
All authentication events are logged at the warning level.
- Version:
- $Id: LoggerListener.java 4019 2009-12-01 15:19:56Z battags $
- Author:
- Ben Alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerListener
public LoggerListener()
onApplicationEvent
public void onApplicationEvent(AbstractAuthenticationEvent event)
- Specified by:
onApplicationEvent
in interface ApplicationListener<AbstractAuthenticationEvent>
isLogInteractiveAuthenticationSuccessEvents
public boolean isLogInteractiveAuthenticationSuccessEvents()
setLogInteractiveAuthenticationSuccessEvents
public void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.