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,LogoutSuccessEvent,SessionFixationProtectionEvent
public abstract class AbstractAuthenticationEvent
extends org.springframework.context.ApplicationEvent
Represents an application authentication event.
The ApplicationEvent's source will be the
Authentication object.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetters for theAuthenticationrequest that caused the event.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AbstractAuthenticationEvent
-
-
Method Details
-
getAuthentication
Getters for theAuthenticationrequest that caused the event. Also available fromsuper.getSource().- Returns:
- the authentication request
-