Class DefaultIDPAccountMapper
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.DefaultAccountMapper
-
- com.sun.identity.wsfederation.plugins.DefaultIDPAccountMapper
-
- All Implemented Interfaces:
IDPAccountMapper
public class DefaultIDPAccountMapper extends DefaultAccountMapper implements IDPAccountMapper
This classDefaultIDPAccountMapperis the default implementation of theIDPAccountMapperthat is used to map theSAMLprotocol objects to the user accounts. at theIdentityProviderside of the WS-Federation implementation. Custom implementations may extend from this class to override some of these implementations if they choose to do so.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.wsfederation.plugins.DefaultAccountMapper
bundle, debug, dsProvider, IDP, keyProvider, role, SP
-
-
Constructor Summary
Constructors Constructor Description DefaultIDPAccountMapper()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class com.sun.identity.wsfederation.plugins.DefaultAccountMapper
getAttribute, getSearchParameters
-
-
-
-
Method Detail
-
getNameID
public 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.- Specified by:
getNameIDin interfaceIDPAccountMapper- Parameters:
session- Session object.realm- Realm where user resides.hostEntityID-EntityIDof the hosted provider.remoteEntityID-EntityIDof the remote provider.- Returns:
- the
NameIDcorresponding to the authenticated user. null if the authenticated user does not container account federation information. - Throws:
WSFederationException- if any failure.
-
-