Interface SiteAttributeMapper


  • public interface SiteAttributeMapper
    Deprecated.
    This class has been deprecated. Please use PartnerSiteAttributeMapper instead.
    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.

    See Also:
    PartnerSiteAttributeMapper
    • Method Detail

      • getAttributes

        List getAttributes​(Object token)
                    throws SAMLException
        Deprecated.
        Returns List of Attribute objects
        Parameters:
        token - User's session.
        Returns:
        List if Attribute objects. Attribute is defined in the SAML SDK as part of com.sun.identity.saml.assertion package.
        Throws:
        SAMLException - if attributes cannot be obtained.