java.lang.Object
com.tivoli.am.fim.trustserver.sts.uuser.Subject

public class Subject extends Object
Represents an STS Subject element of the STSUniversalUser/AdditionalAttributeStatement transform to and from XML.
Version:
@VERSION@
  • Field Details

  • Constructor Details

    • Subject

      public Subject(String name, String format)
      Constructor from a name and SAML name format
      Parameters:
      name - the name of the Subject as a String.
      format - the format of the Subject as a String.
  • Method Details

    • getName

      public String getName()
      Get the attribute that is to b used as the value of the SAML 1.x NameIdentifier element.
      Returns:
      the name of this Subject.
    • setName

      public void setName(String name)
      Set the value of the name attribute
      Parameters:
      name - the name for this Subject object as a String.
    • getFormat

      public String getFormat()
      get the value of the format attribute that will be used in creation of the SAML 1.x NameIdentifier format
      Returns:
      the format of this Subject object as a String.
    • setFormat

      public void setFormat(String type)
      Set the value of the format attribute from the SAML 1.x NameIdentifier.
      Parameters:
      type - the value of the format attribute from the SAML 1.x NameIdentifier.
    • toXml

      public Element toXml(Document owner)
      Returns an XML representation of this Subject as an org.w3c.dom.Element object.
      Parameters:
      owner - the Document to add this Subject to.
      Returns:
      this Subject object as an org.w3c.dom.Element.