Class DefaultChainRevocationLifetimeLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.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>
public class DefaultChainRevocationLifetimeLookupStrategy extends net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunctionDefault lookup function for fetching the chain revocation lifetime. This inherits the functionality ofRevocationLifetimeLookupFunctionbut also adds the configurable clock skew value and additional 5 minutes to the returned value.
-
-
Constructor Summary
Constructors Constructor Description DefaultChainRevocationLifetimeLookupStrategy()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Durationapply(ProfileRequestContext input)voidsetClockSkew(Duration skew)Set the clock skew.-
Methods inherited from class net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
setUseActiveProfileOnly
-
Methods inherited from class net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
clockSkew
@Nonnull private Duration clockSkew
Positive clock skew adjustment to consider when calculating revocation lifetime.
-
-
Method Detail
-
setClockSkew
public void setClockSkew(@Nonnull Duration skew)Set the clock skew.- Parameters:
skew- clock skew to set
-
apply
@Nullable public Duration apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Duration>- Overrides:
applyin classnet.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
-
-