Package | Description |
---|---|
org.springframework.vault.authentication |
Support for authentication and session management.
|
Modifier and Type | Method and Description |
---|---|
LoginToken |
LoginTokenAdapter.login() |
static LoginToken |
LoginToken.of(char[] token)
Create a new
LoginToken . |
static LoginToken |
LoginToken.of(char[] token,
Duration leaseDuration)
Create a new
LoginToken with a leaseDurationSeconds . |
static LoginToken |
LoginToken.of(char[] token,
long leaseDurationSeconds)
Deprecated.
since 2.0, use
of(char[], Duration) for time unit safety. |
static LoginToken |
LoginToken.of(String token)
Create a new
LoginToken . |
static LoginToken |
LoginToken.of(String token,
long leaseDurationSeconds)
Deprecated.
since 2.0, use
of(char[], Duration) for time unit safety. |
static LoginToken |
LoginToken.renewable(char[] token,
Duration leaseDuration)
Create a new renewable
LoginToken with a leaseDurationSeconds . |
static LoginToken |
LoginToken.renewable(char[] token,
long leaseDurationSeconds)
Deprecated.
since 2.0, use
renewable(char[], Duration) for time unit
safety. |
static LoginToken |
LoginToken.renewable(String token,
long leaseDurationSeconds)
Deprecated.
since 2.0, use
renewable(char[], Duration) for time unit
safety. |
static LoginToken |
LoginToken.renewable(VaultToken token,
Duration leaseDuration)
Create a new renewable
LoginToken with a leaseDurationSeconds . |
Modifier and Type | Method and Description |
---|---|
Duration |
LifecycleAwareSessionManagerSupport.RefreshTrigger.getValidTtlThreshold(LoginToken loginToken)
Returns the minimum TTL duration to consider a token valid after renewal.
|
Duration |
LifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.getValidTtlThreshold(LoginToken loginToken) |
protected boolean |
LifecycleAwareSessionManagerSupport.isExpired(LoginToken loginToken)
Check whether the Token falls below its
validity threshold . |
Date |
LifecycleAwareSessionManagerSupport.RefreshTrigger.nextExecutionTime(LoginToken loginToken)
Determine the next execution time according to the given trigger context.
|
Date |
LifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.nextExecutionTime(LoginToken loginToken) |
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.