org.springframework.security.authentication.event
Class AbstractAuthenticationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.authentication.event.AbstractAuthenticationEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractAuthenticationFailureEvent, AuthenticationSuccessEvent, AuthenticationSwitchUserEvent, InteractiveAuthenticationSuccessEvent

public abstract class AbstractAuthenticationEvent
extends ApplicationEvent

Represents an application authentication event.

The ApplicationEvent's source will be the Authentication object.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractAuthenticationEvent(Authentication authentication)
           
 
Method Summary
 Authentication getAuthentication()
          Getters for the Authentication request that caused the event.
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAuthenticationEvent

public AbstractAuthenticationEvent(Authentication authentication)
Method Detail

getAuthentication

public Authentication getAuthentication()
Getters for the Authentication request that caused the event. Also available from super.getSource().

Returns:
the authentication request