com.sun.identity.saml2.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
 java.util.List getAttributes(com.iplanet.sso.SSOToken ssoToken, java.lang.String hostEntityID, java.lang.String remoteEntityID, java.lang.String realm)
          Returns list of SAML Attribute objects for an authenticated user local attributes.
 

Method Detail

getAttributes

public java.util.List getAttributes(com.iplanet.sso.SSOToken ssoToken,
                                    java.lang.String hostEntityID,
                                    java.lang.String remoteEntityID,
                                    java.lang.String realm)
                             throws SAML2Exception
Returns list of SAML Attribute objects for an authenticated user local attributes.

Parameters:
ssoToken - single sign on token 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:
SAML2Exception - if any failure.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.