Class Saml2JsonTokenAuthnContextMapperImpl

    • Constructor Detail

      • Saml2JsonTokenAuthnContextMapperImpl

        @Inject
        public Saml2JsonTokenAuthnContextMapperImpl​(org.slf4j.Logger logger)
    • Method Detail

      • getAuthnContext

        public String getAuthnContext​(TokenTypeId inputTokenType,
                                      org.forgerock.json.JsonValue inputToken)
        Description copied from interface: Saml2JsonTokenAuthnContextMapper
        Returns the AuthnContext value corresponding to the TokenType inputToken.
        Specified by:
        getAuthnContext in interface Saml2JsonTokenAuthnContextMapper
        Parameters:
        inputTokenType - The TokenType validated as part of the token transformation
        inputToken - The json representation of the validated token, as presented to the REST STS in the token transformation invocation. This state can be used by custom implementations of this interface to make more elaborate decisions regarding the returned AuthnContext class reference.
        Returns:
        A valid AuthnContext value, as defined here: http://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf