Class LoginFailedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.vault.authentication.event.AuthenticationErrorEvent
org.springframework.vault.authentication.event.LoginFailedEvent
- All Implemented Interfaces:
Serializable
Event published before renewing a
login token
.
Provides ClientAuthentication
or VaultTokenSupplier
as
source
.
- Since:
- 2.2
- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLoginFailedEvent
(Object source, Throwable exception) Create a newLoginFailedEvent
givenException
. -
Method Summary
Methods inherited from class org.springframework.vault.authentication.event.AuthenticationErrorEvent
getException
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LoginFailedEvent
Create a newLoginFailedEvent
givenException
.- Parameters:
source
- theClientAuthentication
orVaultTokenSupplier
associated with this event, must not be null.exception
- must not be null.
-