Class ProcessRequestedAuthnContext

  • All Implemented Interfaces:
    Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

    public class ProcessRequestedAuthnContext
    extends AbstractOIDCAuthenticationResponseAction
    An action that creates an RequestedPrincipalContext or PreferredPrincipalContext and attaches it to the current AuthenticationContext.

    If the incoming message contains acr values we create principal context populated with matching AuthenticationContextClassReferencePrincipal. Acr values may be be given in acr_values request parameter or as requested id token claim (acr) in requested claims parameter. If they are given in both, the outcome is unspecified. Essential acrs are set to RequestedPrincipalContext and non-essential ones to PreferredPrincipalContext.

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • acrLookupStrategy

        @Nonnull
        private Function<ProfileRequestContext,​List<com.nimbusds.openid.connect.sdk.claims.ACR>> acrLookupStrategy
        Strategy used to obtain the requested acr values.
      • acrAlwaysEssentialLookupStrategy

        @Nonnull
        private Predicate<ProfileRequestContext> acrAlwaysEssentialLookupStrategy
        Strategy used to obtain whether all arc claims requests should be treated as Essential.
      • authenticationContext

        @Nullable
        private net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext
        Authentication context.
      • acrValues

        private List<com.nimbusds.openid.connect.sdk.claims.ACR> acrValues
        acr values.
      • acrClaim

        private com.nimbusds.openid.connect.sdk.claims.ClaimsSetRequest.Entry acrClaim
        requested acr claim.
    • Constructor Detail

      • ProcessRequestedAuthnContext

        public ProcessRequestedAuthnContext()
        Constructor.