public interface SAMLIdentityAssertionAttributeMapper
To specify an instance of this interface to be used by the SAML Identity Asserter, set the NameMapperClassName attribute.
Classes implementing this interface must have a public no-arg constructor and must be in the system classpath.
| Modifier and Type | Method and Description |
|---|---|
void |
mapAttributeInfo(Collection<SAMLAttributeStatementInfo> attrStmtInfos,
ContextHandler contextHandler)
map from collection of
SAMLAttributeStatementInfo to collection of
Principal. |
void mapAttributeInfo(Collection<SAMLAttributeStatementInfo> attrStmtInfos, ContextHandler contextHandler)
SAMLAttributeStatementInfo to collection of
Principal. The implementation of this interface is expected to add
the collection of Principal to the context handler under name
ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALSattrStmtInfos - collection of SAMLAttributeStatementInfo which will be mappedcontextHandler - context handler into which the principals should be added