Class RevocationLifetimeLookupFunction
java.lang.Object
net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,Duration> ContextDataLookupFunction<ProfileRequestContext,Duration>
A function that returns
OAuth2TokenRevocationConfiguration.getRevocationLifetime(ProfileRequestContext)
if such a profile is available from a RelyingPartyContext obtained via a lookup function,
by default a child of the ProfileRequestContext.
If a specific setting is unavailable, a null value is returned.
- Since:
- 2.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanThe flag whether to use active profile only. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidsetUseActiveProfileOnly(boolean flag) Set the flag for using active profile only.Methods inherited from class net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
activeProfileOnly
private boolean activeProfileOnlyThe flag whether to use active profile only.
-
-
Constructor Details
-
RevocationLifetimeLookupFunction
public RevocationLifetimeLookupFunction()
-
-
Method Details
-
setUseActiveProfileOnly
public void setUseActiveProfileOnly(boolean flag) Set the flag for using active profile only.- Parameters:
flag- What to set.
-
apply
-