Class DefaultAccountMapper
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.DefaultAccountMapper
-
- Direct Known Subclasses:
DefaultIDPAccountMapper
,DefaultLibrarySPAccountMapper
public class DefaultAccountMapper extends Object
This classDefaultAccountMapper
is a base class extended byDefaultSPAccountMapper
andDefaultIDPAccountMapper
. 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 ResourceBundle
bundle
protected static Debug
debug
protected static DataStoreProvider
dsProvider
protected static String
IDP
protected static KeyProvider
keyProvider
protected String
role
protected static String
SP
-
Constructor Summary
Constructors Constructor Description DefaultAccountMapper()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getAttribute(String realm, String entityID, String attributeName)
Returns the attribute value configured in the given entity SP or IDP configuration.protected Map
getSearchParameters(NameIdentifier nameID, String realm, String hostEntityID, String remoteEntityID)
Returns theNameIDInfoKey
key 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 theNameIDInfoKey
key value pair that can be used for searching the user.- Parameters:
nameID
-NameID
object.hostEntityID
- hostedEntityID
.remoteEntityID
- remoteEntityID
.- Throws:
WSFederationException
-
-