public static interface LifecycleAwareSessionManagerSupport.RefreshTrigger
Modifier and Type | Method and Description |
---|---|
Duration |
getValidTtlThreshold(LoginToken loginToken)
Returns the minimum TTL duration to consider a token valid after renewal.
|
Date |
nextExecutionTime(LoginToken loginToken)
Determine the next execution time according to the given trigger context.
|
Date nextExecutionTime(LoginToken loginToken)
loginToken
- login token encapsulating renewability and lease duration.null
if
the trigger won't fire anymoreDuration getValidTtlThreshold(LoginToken loginToken)
loginToken
- the login token after renewal.Duration
to consider a token valid.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.