public interface SAML2IdentityAsserterAttributeMapper
To specify an instance of this interface to be used by the SAML2 Identity Asserter, set the NameMapperClassName attribute.
Classes that implement this interface must have a public no-arg constructor and must be in the system classpath.
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<?> |
mapAttributeInfo(java.util.Collection<SAML2AttributeStatementInfo> attrs,
ContextHandler contextHandler) |
This method takes a Collection of
SAMLAttributeStatementInfo instances that represent the
attributes of Attribute Statements in a SAML 2.0 Assertion, and maps the desired attributes in any application
specific way. |
java.util.Collection<?> mapAttributeInfo(java.util.Collection<SAML2AttributeStatementInfo> attrs, ContextHandler contextHandler)
SAMLAttributeStatementInfo instances that represent the
attributes of Attribute Statements in a SAML 2.0 Assertion, and maps the desired attributes in any application
specific way.attrs - represents the attributes of Attribute Statements in a SAML 2.0 Assertion to be mappedcontextHandler - the context handler that can hold additional information for attribute mapping