Class DefaultRequestMaxAgeLookupFunction

All Implemented Interfaces:
Function<ProfileRequestContext,Duration>, ContextDataLookupFunction<ProfileRequestContext,Duration>

@Deprecated(since="4.2.0", forRemoval=true) public class DefaultRequestMaxAgeLookupFunction extends AbstractAuthenticationRequestLookupFunction<Duration>
Deprecated, for removal: This API element is subject to removal in a future version.
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 Details

    • log

      @Nonnull private org.slf4j.Logger log
      Deprecated, for removal: This API element is subject to removal in a future version.
      Class logger.
  • Constructor Details

    • DefaultRequestMaxAgeLookupFunction

      public DefaultRequestMaxAgeLookupFunction()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • doLookup

      protected Duration doLookup(@Nonnull com.nimbusds.openid.connect.sdk.AuthenticationRequest req)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implemented to perform the actual lookup from OIDC authentication request.
      Specified by:
      doLookup in class AbstractAuthenticationRequestLookupFunction<Duration>
      Parameters:
      req - authentication request to perform the lookup from.
      Returns:
      lookup value.