public interface SAMLCredentialNameMapper
To specify an instance of this interface to be used by the SAML Credential Mapper, 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 | Description |
|---|---|---|
SAMLNameMapperInfo |
mapName(java.lang.String name,
ContextHandler handler) |
Maps a
String name to a set of values used to construct a SAML
NameIdentifier element for a SAML assertion. |
SAMLNameMapperInfo |
mapSubject(javax.security.auth.Subject subject,
ContextHandler handler) |
Maps a
Subject to a set of values used to construct a SAML
NameIdentifier element for a SAML assertion. |
void |
setNameQualifier(java.lang.String nameQualifier) |
Called by the SAML Credential Mapper to inform a SAMLCredentialNameMapper
of the currently configured SAML NameQualifier value.
|
void setNameQualifier(java.lang.String nameQualifier)
nameQualifier - The currently configured Name QualifierSAMLNameMapperInfo mapSubject(javax.security.auth.Subject subject, ContextHandler handler)
Subject to a set of values used to construct a SAML
NameIdentifier element for a SAML assertion. The returned
SAMLNameMapperInfo may optionally include a Collection
of group names, which will be used to construct a SAML AttributeStatement
containing a WLSGroups attribute.subject - The Subject that should be mapped.handler - The ContextHandler passed to the SAML Credential Mapper.SAMLNameMapperInfo containing user and group information,
or null if no mapping is made.SAMLNameMapperInfo mapName(java.lang.String name, ContextHandler handler)
String name to a set of values used to construct a SAML
NameIdentifier element for a SAML assertion. The returned
SAMLNameMapperInfo may optionally include a Collection
of group names, which will be used to construct a SAML AttributeStatement
containing a WLSGroups attribute.name - The String name that should be mapped.handler - The ContextHandler passed to the SAML Credential Mapper.SAMLNameMapperInfo containing user and group information,
or null if no mapping is made.