Class StatementProviderImpl
- java.lang.Object
-
- org.forgerock.openam.sts.tokengeneration.saml2.StatementProviderImpl
-
- All Implemented Interfaces:
StatementProvider
public class StatementProviderImpl extends Object implements StatementProvider
- See Also:
StatementProvider
-
-
Method Summary
All Methods Instance Methods Concrete 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
public ConditionsProvider getConditionsProvider(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getConditionsProviderin interfaceStatementProvider- 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- if the configured ConditionsProvider could not be instantiated
-
getSubjectProvider
public SubjectProvider getSubjectProvider(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getSubjectProviderin interfaceStatementProvider- 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- if the configured SubjectProvider could not be instantiated
-
getAuthenticationStatementsProvider
public AuthenticationStatementsProvider getAuthenticationStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getAuthenticationStatementsProviderin interfaceStatementProvider- 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- if the configured AuthenticationStatementsProvider could not be instantiated
-
getAttributeStatementsProvider
public AttributeStatementsProvider getAttributeStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getAttributeStatementsProviderin interfaceStatementProvider- 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- if the configured AttributeStatementsProvider could not be instantiated
-
getAuthzDecisionStatementsProvider
public AuthzDecisionStatementsProvider getAuthzDecisionStatementsProvider(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getAuthzDecisionStatementsProviderin interfaceStatementProvider- 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- if the configured AuthzDecisionStatementsProvider could not be instantiated
-
getAttributeMapper
public AttributeMapper getAttributeMapper(SAML2Config saml2Config) throws TokenCreationException
- Specified by:
getAttributeMapperin interfaceStatementProvider- 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- if the configured AttributeMapper could not be instantiated
-
-