Interface NameIdentifierMapper

  • All Known Implementing Classes:
    DefaultNameIdentifierMapper

    public interface NameIdentifierMapper
    The class NameIdentifierMapper is an interface that is implemented to map user account to name identifier in assertion subject in OpenAM.
    • Method Detail

      • getNameIdentifier

        NameIdentifier getNameIdentifier​(Object session,
                                         String sourceID,
                                         String destID,
                                         String nameIDFormat)
                                  throws SAMLException
        Returns name identifier for assertion subject based on user account in the data store.
        Parameters:
        session - the session of the user performing the SSO operation.
        sourceID - source ID for the site from which the assertion originated.
        destID - destination ID for the site for which the assertion will be created.
        nameIDFormat - The NameID-Format.
        Returns:
        a NameIdentifier for assertion subject.
        Throws:
        SAMLException - if an error occurs