Class RequestedEssentialACRClaimsLookupStrategy
java.lang.Object
net.shibboleth.oidc.security.jwt.claims.impl.RequestedEssentialACRClaimsLookupStrategy
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,JWTClaimsSet, List<String>>
public class RequestedEssentialACRClaimsLookupStrategy
extends Object
implements BiFunction<ProfileRequestContext,JWTClaimsSet,List<String>>
Strategy that looks up any requested ACR claims from the requested claims object that have to be contained in
the token's claims set.
These only come from 'essential' ACR claim requests. 'voluntary' ACR claim requests and the optional 'acr_values' authentication request parameter are not included.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,OIDCAuthenticationRequest> Strategy to find the authentication request. -
Constructor Summary
ConstructorsConstructorDescriptionRequestedEssentialACRClaimsLookupStrategy(Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
authenticationRequestLookupStrategy
@Nonnull private final Function<ProfileRequestContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategyStrategy to find the authentication request.
-
-
Constructor Details
-
RequestedEssentialACRClaimsLookupStrategy
public RequestedEssentialACRClaimsLookupStrategy(@ParameterName(name="authenticationRequestLookupStrategy") @Nonnull Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) Constructor.- Parameters:
strategy- strategy to find the authentication request
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ProfileRequestContext,JWTClaimsSet, List<String>>
-