Class JaasAuthenticationEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.security.authentication.jaas.event.JaasAuthenticationEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
JaasAuthenticationFailedEvent
,JaasAuthenticationSuccessEvent
public abstract class JaasAuthenticationEvent extends org.springframework.context.ApplicationEvent
Parent class for events fired by theJaasAuthenticationProvider
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaasAuthenticationEvent(Authentication auth)
The Authentication object is stored as the ApplicationEvent 'source'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
getAuthentication()
Pre-casted method that returns the 'source' of the event.
-
-
-
Constructor Detail
-
JaasAuthenticationEvent
public JaasAuthenticationEvent(Authentication auth)
The Authentication object is stored as the ApplicationEvent 'source'.- Parameters:
auth
-
-
-
Method Detail
-
getAuthentication
public Authentication getAuthentication()
Pre-casted method that returns the 'source' of the event.- Returns:
- the Authentication
-
-