Class DefaultRequestMaxAgeLookupFunction
- java.lang.Object
-
- org.geant.idpextension.oidc.profile.context.navigate.AbstractAuthenticationRequestLookupFunction<Duration>
-
- org.geant.idpextension.oidc.profile.context.navigate.DefaultRequestMaxAgeLookupFunction
-
- All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,Duration>,org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.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 Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description DefaultRequestMaxAgeLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) DurationdoLookup(com.nimbusds.openid.connect.sdk.AuthenticationRequest req)Implemented to perform the actual lookup.-
Methods inherited from class org.geant.idpextension.oidc.profile.context.navigate.AbstractAuthenticationRequestLookupFunction
apply, getRequestObject
-
-
-
-
Method Detail
-
doLookup
Duration doLookup(@Nonnull com.nimbusds.openid.connect.sdk.AuthenticationRequest req)
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractAuthenticationRequestLookupFunction<Duration>- Parameters:
req- authentication request to perform the lookup from.- Returns:
- lookup value.
-
-