com.sun.identity.saml.plugins
Interface  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.
| Method Summary | 
|  java.util.List | getAttributes(SSOToken token,
              java.lang.String targetURL)Returns
 ListofAttributeobjects | 
 
getAttributes
public java.util.List getAttributes(SSOToken token,
                                    java.lang.String targetURL)
                             throws SAMLException
- Returns ListofAttributeobjects
- 
- Parameters:
- token- SSO token of the user performing the SSO operation.
- targetURL- value for TARGET query parameter when the user
                  accessing the SAML aware servlet or post profile
                  servlet
- Returns:
- Listif- Attributeobjects.- Attributeis defined in the SAML SDK as part of- com.sun.identity.saml.assertionpackage.
- Throws:
- SAMLException- if attributes cannot be obtained.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.