Class Saml2JsonTokenAuthnContextMapperImpl
- java.lang.Object
-
- org.forgerock.openam.sts.rest.token.provider.saml.Saml2JsonTokenAuthnContextMapperImpl
-
- All Implemented Interfaces:
Saml2JsonTokenAuthnContextMapper
public class Saml2JsonTokenAuthnContextMapperImpl extends Object implements Saml2JsonTokenAuthnContextMapper
- See Also:
Saml2JsonTokenAuthnContextMapper
-
-
Field Summary
-
Fields inherited from interface org.forgerock.openam.sts.rest.token.provider.saml.Saml2JsonTokenAuthnContextMapper
AUTHN_CONTEXT_CLASS_REF_PASSWORD_PROTECTED_TRANSPORT, AUTHN_CONTEXT_CLASS_REF_PREVIOUS_SESSION, AUTHN_CONTEXT_CLASS_REF_UNSPECIFIED, AUTHN_CONTEXT_CLASS_REF_X509
-
-
Constructor Summary
Constructors Constructor Description Saml2JsonTokenAuthnContextMapperImpl(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthnContext(TokenTypeId inputTokenType, org.forgerock.json.JsonValue inputToken)Returns the AuthnContext value corresponding to the TokenType inputToken.
-
-
-
Method Detail
-
getAuthnContext
public String getAuthnContext(TokenTypeId inputTokenType, org.forgerock.json.JsonValue inputToken)
Description copied from interface:Saml2JsonTokenAuthnContextMapperReturns the AuthnContext value corresponding to the TokenType inputToken.- Specified by:
getAuthnContextin interfaceSaml2JsonTokenAuthnContextMapper- Parameters:
inputTokenType- The TokenType validated as part of the token transformationinputToken- 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
-
-