Class PasswordImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, XSString, XMLObject, AttributedString, IdBearing, Password, WSSecurityObject

public class PasswordImpl
extends AttributedStringImpl
implements Password
PasswordImpl.
  • Field Details

    • type

      private String type
      wsse:Password/@Type attribute.
  • Constructor Details

    • PasswordImpl

      public PasswordImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor. Default Type attribute: Password.TYPE_PASSWORD_TEXT
      Parameters:
      namespaceURI - namespace of the element
      elementLocalName - name of the element
      namespacePrefix - namespace prefix of the element
  • Method Details

    • getType

      public String getType()
      Returns the wsse:Password/@Type attribute URI value.
      Specified by:
      getType in interface Password
      Returns:
      the Type attribute URI value.
    • setType

      public void setType​(String newType)
      Sets the wsse:Password/@Type attribute URI value.
      Specified by:
      setType in interface Password
      Parameters:
      newType - the Type attribute URI value to set.