Class DefaultSPAttributeMapper
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.DefaultAttributeMapper
-
- com.sun.identity.wsfederation.plugins.DefaultSPAttributeMapper
-
- All Implemented Interfaces:
SPAttributeMapper
public class DefaultSPAttributeMapper extends DefaultAttributeMapper implements SPAttributeMapper
This classDefaultSPAttributeimplementsSPAttributeMapperfor mapping the assertion attributes to local attributes configured in the provider configuration.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.wsfederation.plugins.DefaultAttributeMapper
bundle, debug, dsProvider, IDP, role, SP
-
-
Constructor Summary
Constructors Constructor Description DefaultSPAttributeMapper()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAttributes(List attributes, String userID, String hostEntityID, String remoteEntityID, String realm)Returns attribute map for the given list ofAttributeobjects.-
Methods inherited from class com.sun.identity.wsfederation.plugins.DefaultAttributeMapper
getConfigAttributeMap
-
-
-
-
Method Detail
-
getAttributes
public Map getAttributes(List attributes, String userID, String hostEntityID, String remoteEntityID, String realm) throws WSFederationException
Returns attribute map for the given list ofAttributeobjects.- Specified by:
getAttributesin interfaceSPAttributeMapper- Parameters:
attributes- listAttributeobjects.userID- universal identifier or distinguished name(DN) of the user.hostEntityID-EntityIDof the hosted provider.remoteEntityID-EntityIDof the remote provider.realm- realm name.- Returns:
- a map of mapped attribute value pair. This map has the key as the attribute name and the value as the attribute value
- Throws:
WSFederationException- if any failure.
-
-