Package com.sun.identity.saml2.plugins
Class DefaultAttributeMapper
- java.lang.Object
-
- com.sun.identity.saml2.plugins.DefaultAttributeMapper
-
- Direct Known Subclasses:
DefaultLibraryIDPAttributeMapper,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 static StringSP
-
Constructor Summary
Constructors Constructor Description DefaultAttributeMapper()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getConfigAttributeMap(String realm, String hostEntityID, String role)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
-
-
Method Detail
-
getConfigAttributeMap
public Map<String,String> getConfigAttributeMap(String realm, String hostEntityID, String role) throws SAML2Exception
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:
SAML2Exception
-
-