Class NameIDMappingResponseImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, NameIDMappingResponse, StatusResponseType, SignableXMLObject

public class NameIDMappingResponseImpl extends StatusResponseTypeImpl implements NameIDMappingResponse
Concrete implementation of NameIDMappingResponse.
  • Field Details

    • nameID

      private NameID nameID
      NameID child element.
    • encryptedID

      private EncryptedID encryptedID
      EncryptedID child element.
  • Constructor Details

    • NameIDMappingResponseImpl

      protected NameIDMappingResponseImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getNameID

      public NameID getNameID()
      Gets the name identifier of the principal for this response.
      Specified by:
      getNameID in interface NameIDMappingResponse
      Returns:
      the name identifier of the principal for this response
    • setNameID

      public void setNameID(NameID newNameID)
      Sets the name identifier of the principal for this response.
      Specified by:
      setNameID in interface NameIDMappingResponse
      Parameters:
      newNameID - the name identifier of the principal for this response
    • getEncryptedID

      public EncryptedID getEncryptedID()
      Gets the encrypted name identifier of the principal for this response.
      Specified by:
      getEncryptedID in interface NameIDMappingResponse
      Returns:
      the encrypted name identifier of the principal for this response
    • setEncryptedID

      public void setEncryptedID(EncryptedID newEncryptedID)
      Sets the encrypted name identifier of the principal for this response.
      Specified by:
      setEncryptedID in interface NameIDMappingResponse
      Parameters:
      newEncryptedID - the new encrypted name identifier of the principal for this response
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Overrides:
      getOrderedChildren in class StatusResponseTypeImpl
      Returns:
      ordered list of child elements