Class AuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.vault.authentication.event.AuthenticationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AfterLoginEvent, AfterLoginTokenRenewedEvent, AfterLoginTokenRevocationEvent, BeforeLoginTokenRenewedEvent, BeforeLoginTokenRevocationEvent, LoginTokenExpiredEvent
Abstract base class for authentication events.
- Since:
- 2.2
- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthenticationEvent(VaultToken source) Create a newAuthenticationEventgivenVaultToken. -
Method Summary
Methods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
toString
-
Constructor Details
-
AuthenticationEvent
Create a newAuthenticationEventgivenVaultToken.- Parameters:
source- theVaultTokenassociated with this event, must not be null.
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-