Interface IDPAttributeMapper

All Superinterfaces:
SAMLPlugin

@SupportedAll public interface IDPAttributeMapper extends SAMLPlugin
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:
  • Field Summary

    Fields inherited from interface org.forgerock.openam.saml2.plugins.SAMLPlugin

    HOSTED_ENTITY_ID, REALM
  • Method Summary

    Modifier and Type
    Method
    Description
    getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)
    Returns list of SAML Attribute objects for an authenticated user local attributes.
  • Method Details

    • getAttributes

      List getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm) throws com.sun.identity.saml2.common.SAML2Exception
      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:
      com.sun.identity.saml2.common.SAML2Exception - if any failure.