Uses of Class
org.springframework.vault.core.lease.event.SecretLeaseEvent
Package
Description
Spring Vault's environment abstraction consisting property source support.
The core package implementing lease renewal and secret rotation.
Support classes for lease application events.
-
Uses of SecretLeaseEvent in org.springframework.vault.core.env
Modifier and TypeMethodDescriptionprotected void
LeaseAwareVaultPropertySource.handleLeaseErrorEvent
(SecretLeaseEvent leaseEvent, Exception exception) Hook method to handle aSecretLeaseEvent
errors.protected void
LeaseAwareVaultPropertySource.handleLeaseEvent
(SecretLeaseEvent leaseEvent, Map<String, Object> properties) Hook method to handle aSecretLeaseEvent
. -
Uses of SecretLeaseEvent in org.springframework.vault.core.lease
Modifier and TypeMethodDescriptionvoid
SecretLeaseEventPublisher.LoggingErrorListener.onLeaseError
(SecretLeaseEvent leaseEvent, Exception exception) -
Uses of SecretLeaseEvent in org.springframework.vault.core.lease.event
Modifier and TypeClassDescriptionclass
Event published after renewing aLease
for aRequestedSecret
.class
Event published after revoking aLease
for aRequestedSecret
.class
Event published before revoking aLease
for aRequestedSecret
.class
Event published after obtaining secrets potentially associated with aLease
.class
Event published when caught anException
during secret retrieval and lease interaction.class
Event published after an expiredLease
for aRequestedSecret
was observed.class
Event published after rotating secrets.class
Event published after secrets could not be found for aRequestedSecret
.Modifier and TypeMethodDescriptionvoid
LeaseErrorListener.onLeaseError
(SecretLeaseEvent leaseEvent, Exception exception) Callback for aSecretLeaseEvent
.void
LeaseListenerAdapter.onLeaseError
(SecretLeaseEvent leaseEvent, Exception exception) void
LeaseListener.onLeaseEvent
(SecretLeaseEvent leaseEvent) Callback for aSecretLeaseEvent
void
LeaseListenerAdapter.onLeaseEvent
(SecretLeaseEvent leaseEvent)