com.sun.identity.saml.plugins
インタフェース PartnerSiteAttributeMapper


public interface PartnerSiteAttributeMapper

This interface needs to be implemented by partner site to return a list of Attribute objects which they want returned as AttributeStatements elements, as part of the Authentication Assertion returned to the partner during the SSO scenario of Browser Artifact and POST profile.

Different partner would need to have a different implementation of the interface. The mappings between the partner source ID and the implementation class are configured at the Partner URLs field in SAML service.


メソッドの概要
 List getAttributes(Object token, String targetURL)
          Returns List of Attribute objects
 

メソッドの詳細

getAttributes

List getAttributes(Object token,
                   String targetURL)
                   throws SAMLException
Returns List of Attribute objects

パラメータ:
token - User's session.
targetURL - value for TARGET query parameter when the user accessing the SAML aware servlet or post profile servlet
戻り値:
List if Attribute objects. Attribute is defined in the SAML SDK as part of com.sun.identity.saml.assertion package.
例外:
SAMLException - if attributes cannot be obtained.