Class RequestedEssentialACRClaimsLookupStrategy
- java.lang.Object
-
- net.shibboleth.oidc.security.jwt.claims.impl.RequestedEssentialACRClaimsLookupStrategy
-
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,List<String>>
public class RequestedEssentialACRClaimsLookupStrategy extends Object implements BiFunction<ProfileRequestContext,com.nimbusds.jwt.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
Fields Modifier and Type Field Description private Function<ProfileRequestContext,OIDCAuthenticationRequest>authenticationRequestLookupStrategyStrategy to find the authentication request.
-
Constructor Summary
Constructors Constructor Description RequestedEssentialACRClaimsLookupStrategy(Function<ProfileRequestContext,OIDCAuthenticationRequest> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>apply(ProfileRequestContext prc, com.nimbusds.jwt.JWTClaimsSet claims)-
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.BiFunction
andThen
-
-
-
-
Field Detail
-
authenticationRequestLookupStrategy
@Nonnull private final Function<ProfileRequestContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategy
Strategy to find the authentication request.
-
-
Constructor Detail
-
RequestedEssentialACRClaimsLookupStrategy
public RequestedEssentialACRClaimsLookupStrategy(@ParameterName(name="authenticationRequestLookupStrategy") @Nonnull Function<ProfileRequestContext,OIDCAuthenticationRequest> strategy)
Constructor.- Parameters:
strategy- strategy to find the authentication request
-
-
Method Detail
-
apply
@Nonnull public List<String> apply(ProfileRequestContext prc, com.nimbusds.jwt.JWTClaimsSet claims)
- Specified by:
applyin interfaceBiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,List<String>>
-
-