Interface StatementProvider
-
- All Known Implementing Classes:
StatementProviderImpl
public interface StatementProviderDefines the interface referenced by the SAML2TokenGeneration implementation to obtain the providers of the various SAML2 assertion statements. The implementation of this method will return an instance of the *Provider specified in the SAML2Config, and if no custom *Provider is specified, an instance of the Default*Provider will be returned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeMappergetAttributeMapper(SAML2Config saml2Config)AttributeStatementsProvidergetAttributeStatementsProvider(SAML2Config saml2Config)AuthenticationStatementsProvidergetAuthenticationStatementsProvider(SAML2Config saml2Config)AuthzDecisionStatementsProvidergetAuthzDecisionStatementsProvider(SAML2Config saml2Config)ConditionsProvidergetConditionsProvider(SAML2Config saml2Config)SubjectProvidergetSubjectProvider(SAML2Config saml2Config)
-
-
-
Method Detail
-
getConditionsProvider
ConditionsProvider getConditionsProvider(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The ConditionsProvider instance which will be invoked to obtain the Conditions included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
getSubjectProvider
SubjectProvider getSubjectProvider(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The SubjectProvider instance which will be invoked to obtain the Subject included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
getAuthenticationStatementsProvider
AuthenticationStatementsProvider getAuthenticationStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The AuthenticationStatementsProvider instance which will be invoked to obtain the AuthenticationStatements included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
getAttributeStatementsProvider
AttributeStatementsProvider getAttributeStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The AttributeStatementsProvider instance which will be invoked to obtain the AttributeStatements included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
getAuthzDecisionStatementsProvider
AuthzDecisionStatementsProvider getAuthzDecisionStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The AuthzDecisionStatementsProvider instance which will be invoked to obtain the AuthzDecisionStatements included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
getAttributeMapper
AttributeMapper getAttributeMapper(SAML2Config saml2Config) throws TokenCreationException
- Parameters:
saml2Config- The SAML2Config corresponding to the STS instance consuming the TokenGenerationService- Returns:
- The AttributeMapper instance which will be invoked to obtain the Attributes included in the generated SAML2 assertion
- Throws:
TokenCreationException
-
-