Interface SAML2TokenGeneration
-
- All Known Implementing Classes:
SAML2TokenGenerationImpl
public interface SAML2TokenGenerationThis interface defines the concerns of SAML2TokenGeneration, as exposed by the TokenGenerationService, and consumed by published STS instances, both REST and SOAP. The implementation of this interface will consult the SAML2Config of the STSInstanceConfig referenced in the invocation to determine if any custom statement providers have been registered with the published STS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringgenerate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState)
-
-
-
Method Detail
-
generate
String generate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState) throws TokenCreationException
- 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
-
-