Class DefaultRequestMaxAgeLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction<T>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction<Duration>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestMaxAgeLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,Duration> ContextDataLookupFunction<ProfileRequestContext,Duration>
public class DefaultRequestMaxAgeLookupFunction
extends AbstractAuthenticationRequestLookupFunction<Duration>
A function that returns authentication max age parameter the request via a lookup function. This default lookup
locates max age from oidc authentication request if available. If information is not available, null is returned. If
there is max_age parameter in request object it is used instead of max_age request parameter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction
doLookupMethods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction
apply, getRequestObject
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
DefaultRequestMaxAgeLookupFunction
public DefaultRequestMaxAgeLookupFunction()
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup from OIDC authentication request.- Specified by:
doLookupin classAbstractAuthenticationRequestLookupFunction<Duration>- Parameters:
req- authentication request to perform the lookup from.- Returns:
- lookup value.
-