Class SAML2TokenGenerationImpl
- java.lang.Object
-
- org.forgerock.openam.sts.tokengeneration.saml2.SAML2TokenGenerationImpl
-
- All Implemented Interfaces:
SAML2TokenGeneration
public class SAML2TokenGenerationImpl extends Object implements SAML2TokenGeneration
- See Also:
SAML2TokenGeneration
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState)
-
-
-
Method Detail
-
generate
public String generate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState) throws TokenCreationException
- Specified by:
generatein interfaceSAML2TokenGeneration- Parameters:
subjectToken- The SSOToken authenticating the identity of the subject of the assertionstsInstanceState- The STS-instance-specific state necessary to generate the assertioninvocationState- The parameters with which the TokenGenerationService was invoked.- Returns:
- The String representation of the assertion
- Throws:
TokenCreationException- if the assertion could not be generated
-
-