org.springframework.security.authentication.event
Class AbstractAuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
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
AbstractAuthenticationEvent
public AbstractAuthenticationEvent(Authentication authentication)
getAuthentication
public Authentication getAuthentication()
- Getters for the
Authentication request that caused the event. Also available from
super.getSource().
- Returns:
- the authentication request