Class DefaultRequestedAcrLookupFunction

All Implemented Interfaces:
Function<ProfileRequestContext,List<ACR>>, Component, DestructableComponent, InitializableComponent, ContextDataLookupFunction<ProfileRequestContext,List<ACR>>

@ThreadSafeAfterInit public class DefaultRequestedAcrLookupFunction extends AbstractAuthenticationRequestLookupFunction<List<ACR>>
A function that returns copy of requested acr values via a lookup function. This default lookup locates acr values from oidc authentication request if available. If information is not available, null is returned. If there are acr values in request object it is used instead of acr_values parameter.
Since:
4.2.0
  • Field Details

    • log

      @Nonnull private org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • DefaultRequestedAcrLookupFunction

      public DefaultRequestedAcrLookupFunction()
  • Method Details

    • doLookup

      @Nullable protected List<ACR> doLookup(@Nonnull AuthenticationRequest req, @Nullable PushedAuthorizationRequest parRequest, @Nullable JWT requestObject, boolean isRequestObjectFromPar)
      Implemented to perform the actual lookup.
      Specified by:
      doLookup in class AbstractAuthenticationRequestLookupFunction<List<ACR>>
      Parameters:
      req - authorization request to perform the lookup from.
      parRequest - pushed authorization request if authorization request was pushed.
      requestObject - request object if it was part of the request.
      isRequestObjectFromPar - flag to indicate that the request object is built by the PAR endpoint.
      Returns:
      lookup value.