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.ApplicationEvent
Represents an application authentication event.The
ApplicationEvent
'ssource
will be theAuthentication
object.- 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 Authentication
getAuthentication()
Getters for theAuthentication
request that caused the event.
-
-
-
Constructor Detail
-
AbstractAuthenticationEvent
public AbstractAuthenticationEvent(Authentication authentication)
-
-
Method Detail
-
getAuthentication
public Authentication getAuthentication()
Getters for theAuthentication
request that caused the event. Also available fromsuper.getSource()
.- Returns:
- the authentication request
-
-