com.sun.identity.saml.plugins
Interface NameIdentifierMapper
public interface NameIdentifierMapper
The class NameIdentifierMapper
is an interface
that is implemented to map user account to name identifier in
assertion subject in OpenSSO.
getNameIdentifier
NameIdentifier getNameIdentifier(Object session,
String sourceID,
String destID)
throws SAMLException
- Returns name identifier for assertion subject based on user account in
the data store.
- Parameters:
session
- the session of the user performing the SSO operation.sourceID
- source ID for the site from which the assertion
originated.destID
- destination ID for the site for which the assertion will be
created.
- Returns:
- a
NameIdentifier
for assertion subject.
- Throws:
SAMLException
- if an error occurs