Interface IDPAccountMapper
-
- All Known Implementing Classes:
DefaultIDPAccountMapper
public interface IDPAccountMapperThe interfaceIDPAccountMapperis used to map the local identities to theSAMLprotocol objects and also the vice versa for some of the protocols for e.g.ManageNameIDRequest. This mapper interface is used to map the identities only at theSAMLAssertionProducer, in otherwords,SAMLProvider as anIdentityProvider. The implementation of this interface will be used by theSAMLframework to retrieve the user's account federation information for the constructing SAML protocol objects such asAssertionand also to find out the corresponding user account for the given SAML requests. The implementation of this interface may need to consider the deployment of the WS-Federation implementation for example theAccessMangerplatform or theFederationManagerplatform.- See Also:
SPAccountMapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameIdentifiergetNameID(Object session, String realm, String hostEntityID, String remoteEntityID)Returns the user'sNameIDinformation that contains account federation with the corresponding remote and local entities.
-
-
-
Method Detail
-
getNameID
NameIdentifier getNameID(Object session, String realm, String hostEntityID, String remoteEntityID) throws WSFederationException
Returns the user'sNameIDinformation that contains account federation with the corresponding remote and local entities.- Parameters:
session- Single Sign On session of the user.hostEntityID-EntityIDof the hosted provider.remoteEntityID-EntityIDof the remote provider.- Returns:
- the
NameIDcorresponding to the authenticated user. - Throws:
WSFederationException- if any failure.
-
-