Class TokenRequestAudienceLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.AbstractTokenRequestLookupFunction<List<String>>
net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.TokenRequestAudienceLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,List<String>> ContextDataLookupFunction<ProfileRequestContext,List<String>>
@ThreadSafe
public class TokenRequestAudienceLookupFunction
extends AbstractTokenRequestLookupFunction<List<String>>
A function that returns a copy of requested resource list from a
TokenRequest. The resource value is
expected to be prefixed with the DefaultRequestAudienceLookupFunction.CUSTOM_RESOURCE_PARAM_PREFIX. The token
request message decoder switches the incoming resource -parameter values to have that prefix. This function returns
the value without the prefix.- Since:
- 4.2.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.AbstractTokenRequestLookupFunction
apply
-
Constructor Details
-
TokenRequestAudienceLookupFunction
public TokenRequestAudienceLookupFunction()
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractTokenRequestLookupFunction<List<String>>- Parameters:
req- token request to perform the lookup from.- Returns:
- lookup value.
-