Class AbstractAuthenticationEvent
- java.lang.Object
 - 
- java.util.EventObject
 - 
- org.springframework.context.ApplicationEvent
 - 
- org.springframework.security.authentication.event.AbstractAuthenticationEvent
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
- Direct Known Subclasses:
 AbstractAuthenticationFailureEvent,AuthenticationSuccessEvent,AuthenticationSwitchUserEvent,InteractiveAuthenticationSuccessEvent,LogoutSuccessEvent,SessionFixationProtectionEvent
public abstract class AbstractAuthenticationEvent extends org.springframework.context.ApplicationEventRepresents an application authentication event.The
ApplicationEvent'ssourcewill be theAuthenticationobject.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractAuthenticationEvent(Authentication authentication) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationgetAuthentication()Getters for theAuthenticationrequest that caused the event. 
 - 
 
- 
- 
Constructor Detail
- 
AbstractAuthenticationEvent
public AbstractAuthenticationEvent(Authentication authentication)
 
 - 
 
- 
Method Detail
- 
getAuthentication
public Authentication getAuthentication()
Getters for theAuthenticationrequest that caused the event. Also available fromsuper.getSource().- Returns:
 - the authentication request
 
 
 - 
 
 -