Class DefaultAttributeStatementsProvider
- java.lang.Object
-
- org.forgerock.openam.sts.tokengeneration.saml2.statements.DefaultAttributeStatementsProvider
-
- All Implemented Interfaces:
AttributeStatementsProvider
public class DefaultAttributeStatementsProvider extends Object implements AttributeStatementsProvider
Encrypted attributes are currently not supported.- See Also:
AttributeStatementsProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultAttributeStatementsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeStatement>get(SSOToken ssoToken, SAML2Config saml2Config, AttributeMapper mapper)Invoked to obtain the List of AttributeStatement instances to be included in the generated SAML2 assertion.
-
-
-
Method Detail
-
get
public List<AttributeStatement> get(SSOToken ssoToken, SAML2Config saml2Config, AttributeMapper mapper) throws TokenCreationException
Description copied from interface:AttributeStatementsProviderInvoked to obtain the List of AttributeStatement instances to be included in the generated SAML2 assertion.- Specified by:
getin interfaceAttributeStatementsProvider- Parameters:
ssoToken- The SSOToken corresponding to asserted subjectsaml2Config- The STS-instance-specific SAML2 configurationsmapper- The AttributeMapper implementation which will map attributes. If the AttributeMapper cannot map any attributes, then an empty list should be returned.- Returns:
- The list of AttributeStatement instances containing the mapped attributes, or an empty list, if no attributes could be mapped.
- Throws:
TokenCreationException- See Also:
AttributeStatementsProvider.get(com.iplanet.sso.SSOToken, org.forgerock.openam.sts.config.user.SAML2Config, AttributeMapper)
-
-