com.sun.identity.wsfederation.plugins
Interface IDPAttributeMapper


public interface IDPAttributeMapper

This interface IDPAttributeMapper is used to map the authenticated user configured attributes to SAML Attributes so that the SAML framework may insert these attribute information as SAML AttributeStatements in SAML Assertion. The implementation of this interface can read the configured attributes or the attributes that are available through the Single Sign On Token and returns the SAML Attributes.

See Also:
SPAttributeMapper

Method Summary
 List getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)
          Returns list of SAML Attribute objects for an authenticated user local attributes.
 

Method Detail

getAttributes

List getAttributes(Object session,
                   String hostEntityID,
                   String remoteEntityID,
                   String realm)
                   throws WSFederationException
Returns list of SAML Attribute objects for an authenticated user local attributes.

Parameters:
session - single sign on session of an authenticated user.
hostEntityID - EntityID of the hosted provider.
remoteEntityID - EntityID of the remote provider.
realm - realm name.
Returns:
list of Attributess of an authenticated user.
Throws:
WSFederationException - if any failure.