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
-
Method Summary
Modifier and TypeMethodDescriptionGetters for theAuthentication
request that caused the event.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AbstractAuthenticationEvent
-
-
Method Details
-
getAuthentication
Getters for theAuthentication
request that caused the event. Also available fromsuper.getSource()
.- Returns:
- the authentication request
-