Class DefaultChainRevocationLifetimeLookupStrategy
java.lang.Object
net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
net.shibboleth.idp.plugin.oidc.op.profile.logic.DefaultChainRevocationLifetimeLookupStrategy
- All Implemented Interfaces:
Function<ProfileRequestContext,,Duration> ContextDataLookupFunction<ProfileRequestContext,Duration>
Default lookup function for fetching the chain revocation lifetime. This inherits the functionality of
RevocationLifetimeLookupFunction but also adds the configurable clock skew value and additional 5 minutes
to the returned value.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidsetClockSkew(Duration skew) Set the clock skew.Methods inherited from class net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
setUseActiveProfileOnlyMethods inherited from class net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
clockSkew
Positive clock skew adjustment to consider when calculating revocation lifetime.
-
-
Constructor Details
-
DefaultChainRevocationLifetimeLookupStrategy
public DefaultChainRevocationLifetimeLookupStrategy()Constructor.
-
-
Method Details
-
setClockSkew
Set the clock skew.- Parameters:
skew- clock skew to set
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Duration> - Overrides:
applyin classRevocationLifetimeLookupFunction
-