Class DefaultAttributeMapper
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.DefaultAttributeMapper
-
- Direct Known Subclasses:
DefaultIDPAttributeMapper,DefaultSPAttributeMapper
public class DefaultAttributeMapper extends Object
This classDefaultAttributeis the base class forDefaultSPAttributeMapperandDefaultIDPAttributeMapperfor sharing the common functionalities.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ResourceBundlebundleprotected static Debugdebugprotected static DataStoreProviderdsProviderprotected static StringIDPprotected Stringroleprotected static StringSP
-
Constructor Summary
Constructors Constructor Description DefaultAttributeMapper()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetConfigAttributeMap(String realm, String hostEntityID)Returns the attribute map by parsing the configured map in hosted provider configuration
-
-
-
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
-
-
Method Detail
-
getConfigAttributeMap
public Map getConfigAttributeMap(String realm, String hostEntityID) throws WSFederationException
Returns the attribute map by parsing the configured map in hosted provider configuration- Parameters:
realm- realm name.hostEntityID-EntityIDof the hosted provider.- Returns:
- a map of local attributes configuration map. This map will have a key as the SAML attribute name and the value is the local attribute.
- Throws:
WSFederationException
-
-