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>>
public class DefaultRequestAudienceLookupFunction
extends AbstractAuthorizationRequestLookupFunction<List<String>>
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
FieldsModifier and TypeFieldDescriptionstatic final StringCustom name for the resource parameter that allows non-uri values.private org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction
apply, getRequestObject
-
Field Details
-
CUSTOM_RESOURCE_PARAM_NAME
Custom name for the resource parameter that allows non-uri values.- See Also:
-
log
@Nonnull private org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
DefaultRequestAudienceLookupFunction
public DefaultRequestAudienceLookupFunction()
-
-
Method Details
-
doLookup
@Nullable protected List<String> doLookup(@Nonnull com.nimbusds.oauth2.sdk.AuthorizationRequest req) Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractAuthorizationRequestLookupFunction<List<String>>- Parameters:
req- authorization request to perform the lookup from.- Returns:
- lookup value.
-