Class DefaultRequestLoginHintLookupFunction

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

public class DefaultRequestLoginHintLookupFunction extends AbstractAuthenticationRequestLookupFunction<String>
A function that returns request login hint via a lookup function. This default lookup locates hint from oidc authentication request if available. If information is not available, null is returned. If there is hint in request object it is used instead of login_hint parameter.
  • Field Details

    • log

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

    • DefaultRequestLoginHintLookupFunction

      public DefaultRequestLoginHintLookupFunction()
  • Method Details

    • doLookup

      protected String doLookup(@Nonnull com.nimbusds.openid.connect.sdk.AuthenticationRequest req)
      Implemented to perform the actual lookup from OIDC authentication request.
      Specified by:
      doLookup in class AbstractAuthenticationRequestLookupFunction<String>
      Parameters:
      req - authentication request to perform the lookup from.
      Returns:
      lookup value.