Class RequestedACRClaimsFromStateLookupStrategy

java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.RequestedACRClaimsFromStateLookupStrategy
All Implemented Interfaces:
BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,List<String>>

@ThreadSafe public class RequestedACRClaimsFromStateLookupStrategy extends Object implements BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,List<String>>
Strategy that looks up any requested ACR claims from the saved off authentication request state. No judgement is made over how these ACR values were requested, for example, either as essential or optional.
  • Field Details

    • stateDataContextLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> stateDataContextLookupStrategy
      Strategy used to locate the StateDataContext.
  • Constructor Details

    • RequestedACRClaimsFromStateLookupStrategy

      public RequestedACRClaimsFromStateLookupStrategy(@ParameterName(name="stateDataContextLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> strategy)
      Constructor.
      Parameters:
      strategy - strategy to find the authentication request state context
  • Method Details

    • apply

      @Nonnull public List<String> apply(org.opensaml.profile.context.ProfileRequestContext prc, com.nimbusds.jwt.JWTClaimsSet claims)
      Specified by:
      apply in interface BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,List<String>>