public class DefaultAccountMapper extends Object
DefaultAccountMapper
is a base class extended by
DefaultSPAccountMapper
and DefaultIDPAccountMapper
.
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.Modifier and Type | Field and 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 and Description |
---|
DefaultAccountMapper()
Default constructor
|
Modifier and Type | Method and 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 the
NameIDInfoKey key value pair that can
be used for searching the user. |
protected static Debug debug
protected static ResourceBundle bundle
protected static DataStoreProvider dsProvider
protected static final String IDP
protected static final String SP
protected String role
protected static KeyProvider keyProvider
protected Map getSearchParameters(NameIdentifier nameID, String realm, String hostEntityID, String remoteEntityID) throws WSFederationException
NameIDInfoKey
key value pair that can
be used for searching the user.nameID
- NameID
object.hostEntityID
- hosted EntityID
.remoteEntityID
- remote EntityID
.WSFederationException
- if any failure.WSFederationException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.