Class JaasAuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.jaas.event.JaasAuthenticationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JaasAuthenticationFailedEvent
,JaasAuthenticationSuccessEvent
public abstract class JaasAuthenticationEvent
extends org.springframework.context.ApplicationEvent
Parent class for events fired by the
JaasAuthenticationProvider
.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionThe Authentication object is stored as the ApplicationEvent 'source'. -
Method Summary
Modifier and TypeMethodDescriptionPre-casted method that returns the 'source' of the event.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
JaasAuthenticationEvent
The Authentication object is stored as the ApplicationEvent 'source'.- Parameters:
auth
-
-
-
Method Details
-
getAuthentication
Pre-casted method that returns the 'source' of the event.- Returns:
- the Authentication
-