Class AttributeSourcedAuthnContextTranslationStrategy

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.saml.saml2.profile.config.AttributeSourcedAuthnContextTranslationStrategy
All Implemented Interfaces:
Function<ProfileRequestContext,Collection<Principal>>, Component, DestructableComponent, InitializableComponent

public class AttributeSourcedAuthnContextTranslationStrategy extends AbstractInitializableComponent implements Function<ProfileRequestContext,Collection<Principal>>
Implementation of the SSO authnContextTranslationStrategyEx hook that translates decoded IdPAttribute values into (optionally mapped) values in the form of AuthnContextClassRefPrincipal objects.

This is primarily used for proxying via SAML to non-compliant IdPs (i.e., virtually all of them) that can't be bothered to properly support the use of Authentication Context to carry what it was literally designed to carry.

  • Field Details

    • log

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

      @Nonnull private Function<ProfileRequestContext,AttributeContext> attributeContextLookupStrategy
      Lookup strategy for AttributeContext to pull from.
    • attributeSourceIDs

      @Nonnull private Set<String> attributeSourceIDs
      Attribute sources to pull from.
    • valueMappings

      @Nonnull private Map<String,String> valueMappings
      Translation map to convert values if necessary.
  • Constructor Details

    • AttributeSourcedAuthnContextTranslationStrategy

      public AttributeSourcedAuthnContextTranslationStrategy()
      Constructor.
  • Method Details