Class MaxAgeFromProfileLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
-
- net.shibboleth.idp.plugin.authn.oidc.rp.config.navigate.MaxAgeFromProfileLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Duration>,ContextDataLookupFunction<ProfileRequestContext,Duration>
@ThreadSafe public class MaxAgeFromProfileLookupFunction extends net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
Locate the maximum authentication age from the profile request context. Returning a default value if not found.
-
-
Field Summary
Fields Modifier and Type Field Description private DurationmaxAgeDefaultDefault max authentication age if none can be found on the profile context.
-
Constructor Summary
Constructors Constructor Description MaxAgeFromProfileLookupFunction(Duration defaultAge)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Durationapply(ProfileRequestContext input)-
Methods inherited from class net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
maxAgeDefault
private final Duration maxAgeDefault
Default max authentication age if none can be found on the profile context.
-
-
Constructor Detail
-
MaxAgeFromProfileLookupFunction
public MaxAgeFromProfileLookupFunction(@ParameterName(name="maxAgeDefault") @Nonnull Duration defaultAge)
Constructor.- Parameters:
defaultAge- the default value to use for maximum authentication age
-
-
Method Detail
-
apply
@Nonnull public Duration apply(@Nullable ProfileRequestContext input)
-
-