org.springframework.security.authentication.event
Class LoggerListener

java.lang.Object
  extended by 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

Constructor Summary
LoggerListener()
           
 
Method Summary
 boolean isLogInteractiveAuthenticationSuccessEvents()
           
 void onApplicationEvent(AbstractAuthenticationEvent event)
           
 void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerListener

public LoggerListener()
Method Detail

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.