Class RevocationLifetimeLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
-
- net.shibboleth.oidc.profile.config.navigate.RevocationLifetimeLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Duration>,ContextDataLookupFunction<ProfileRequestContext,Duration>
public class RevocationLifetimeLookupFunction extends net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
A function that returnsOAuth2TokenRevocationConfiguration.getRevocationLifetime(ProfileRequestContext)if such a profile is available from aRelyingPartyContextobtained via a lookup function, by default a child of theProfileRequestContext.If a specific setting is unavailable, a null value is returned.
- Since:
- 2.1.0
-
-
Field Summary
Fields Modifier and Type Field Description private booleanactiveProfileOnlyThe flag whether to use active profile only.
-
Constructor Summary
Constructors Constructor Description RevocationLifetimeLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Durationapply(ProfileRequestContext input)voidsetUseActiveProfileOnly(boolean flag)Set the flag for using active profile only.-
Methods inherited from class net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Method Detail
-
setUseActiveProfileOnly
public void setUseActiveProfileOnly(boolean flag)
Set the flag for using active profile only.- Parameters:
flag- What to set.
-
apply
@Nullable public Duration apply(@Nullable ProfileRequestContext input)
-
-