com.sun.identity.wsfederation.plugins
インタフェース SPAttributeMapper


public interface SPAttributeMapper

This interface SPAttributeMapper is used to map the SAML Attributes to the local user attributes. This mapper will be used by the Service Provider that will read the configured map for the corresponding SAML attributes and supply to the SAML framework. The locally mapped attributes returned by the implementation of this interface will be used by the SAML2 framework to expose through the single sign-on token to the application. Also, the implementation of this mapper may need to consider the deployment of the WS-Federation implementation base platform for example AccessManager or the FederationManager.

関連項目:
IDPAttributeMapper

メソッドの概要
 Map getAttributes(List attributes, String userID, String hostEntityID, String remoteEntityID, String realm)
          Returns the map of user attribute values for the corresponding SAML Attributes.
 

メソッドの詳細

getAttributes

Map getAttributes(List attributes,
                  String userID,
                  String hostEntityID,
                  String remoteEntityID,
                  String realm)
                  throws WSFederationException
Returns the map of user attribute values for the corresponding SAML Attributes. This attribute value pair map will be expose by the SAML framework via the Single Sign On Token.

パラメータ:
attributes - list of SAML Attributes.
userID - universal identifier or the distinguished name (DN) of the user.
hostEntityID - EntityID of the hosted provider.
remoteEntityID - EntityID of the remote provider.
戻り値:
map of AttributeValuePairs for the given SAML Attribute list.
例外:
WSFederationException - if any failure.