Class DefaultAccountMapper
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.DefaultAccountMapper
-
- Direct Known Subclasses:
DefaultIDPAccountMapper,DefaultLibrarySPAccountMapper
public class DefaultAccountMapper extends Object
This classDefaultAccountMapperis a base class extended byDefaultSPAccountMapperandDefaultIDPAccountMapper. This class implements the common interface methods that are required for the SP and IDP account mappers and also provide some utility classes that can be shared between those mappers.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ResourceBundlebundleprotected static Debugdebugprotected static DataStoreProviderdsProviderprotected static StringIDPprotected static KeyProviderkeyProviderprotected Stringroleprotected static StringSP
-
Constructor Summary
Constructors Constructor Description DefaultAccountMapper()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetAttribute(String realm, String entityID, String attributeName)Returns the attribute value configured in the given entity SP or IDP configuration.protected MapgetSearchParameters(NameIdentifier nameID, String realm, String hostEntityID, String remoteEntityID)Returns theNameIDInfoKeykey value pair that can be used for searching the user.
-
-
-
Field Detail
-
debug
protected static Debug debug
-
bundle
protected static ResourceBundle bundle
-
dsProvider
protected static DataStoreProvider dsProvider
-
IDP
protected static final String IDP
- See Also:
- Constant Field Values
-
SP
protected static final String SP
- See Also:
- Constant Field Values
-
role
protected String role
-
keyProvider
protected static KeyProvider keyProvider
-
-
Method Detail
-
getSearchParameters
protected Map getSearchParameters(NameIdentifier nameID, String realm, String hostEntityID, String remoteEntityID) throws WSFederationException
Returns theNameIDInfoKeykey value pair that can be used for searching the user.- Parameters:
nameID-NameIDobject.hostEntityID- hostedEntityID.remoteEntityID- remoteEntityID.- Throws:
WSFederationException
-
-