Class DefaultRequestAudienceLookupFunction

java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction<List<String>>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestAudienceLookupFunction
All Implemented Interfaces:
Function<ProfileRequestContext,List<String>>, ContextDataLookupFunction<ProfileRequestContext,List<String>>

@Deprecated(since="4.2.0", forRemoval=true) public class DefaultRequestAudienceLookupFunction extends AbstractAuthorizationRequestLookupFunction<List<String>>
Deprecated, for removal: This API element is subject to removal in a future version.
A function that returns resource value of the authorization request. Since 4.1.0, the resource value is fetched via custom parameter name CUSTOM_RESOURCE_PARAM_NAME. The message decoders switches the incoming resource -parameter names into that. The request objects still contain the standard resource parameter name.
Since:
3.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Custom name for the resource parameter that allows non-uri values.
    private org.slf4j.Logger
    Deprecated, for removal: This API element is subject to removal in a future version.
    Class logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    doLookup(com.nimbusds.oauth2.sdk.AuthorizationRequest req)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Implemented to perform the actual lookup.

    Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction

    apply, getRequestObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Field Details

    • CUSTOM_RESOURCE_PARAM_NAME

      public static final String CUSTOM_RESOURCE_PARAM_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Custom name for the resource parameter that allows non-uri values.
      See Also:
    • 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

    • DefaultRequestAudienceLookupFunction

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

    • doLookup

      @Nullable protected List<String> doLookup(@Nonnull com.nimbusds.oauth2.sdk.AuthorizationRequest req)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implemented to perform the actual lookup.
      Specified by:
      doLookup in class AbstractAuthorizationRequestLookupFunction<List<String>>
      Parameters:
      req - authorization request to perform the lookup from.
      Returns:
      lookup value.