Uses of Class
org.springframework.vault.authentication.LoginToken
Package
Description
Support for authentication and session management.
-
Uses of LoginToken in org.springframework.vault.authentication
Modifier and TypeMethodDescriptionLoginToken.LoginTokenBuilder.build()
Build a newLoginToken
instance.LoginTokenAdapter.login()
static LoginToken
LoginToken.of
(char[] token) Create a newLoginToken
.static LoginToken
Create a newLoginToken
with aleaseDurationSeconds
.static LoginToken
Create a newLoginToken
.static LoginToken
Create a new renewableLoginToken
with aleaseDurationSeconds
.static LoginToken
LoginToken.renewable
(VaultToken token, Duration leaseDuration) Create a new renewableLoginToken
with aleaseDurationSeconds
.Modifier and TypeMethodDescriptionLifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.getValidTtlThreshold
(LoginToken loginToken) LifecycleAwareSessionManagerSupport.RefreshTrigger.getValidTtlThreshold
(LoginToken loginToken) Returns the minimum TTL duration to consider a token valid after renewal.protected boolean
LifecycleAwareSessionManagerSupport.isExpired
(LoginToken loginToken) Check whether the Token falls below itsvalidity threshold
.LifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.nextExecutionTime
(LoginToken loginToken) LifecycleAwareSessionManagerSupport.RefreshTrigger.nextExecutionTime
(LoginToken loginToken) Determine the next execution time according to the given trigger context.