Interface Password

All Superinterfaces:
AttributedString, AttributeExtensibleXMLObject, IdBearing, WSSecurityObject, XMLObject, XSString
All Known Implementing Classes:
PasswordImpl

public interface Password
extends AttributedString
The Password element.
See Also:
"WS-Security UsernameToken Profile 1.1"
  • Field Details

    • ELEMENT_LOCAL_NAME

      static final String ELEMENT_LOCAL_NAME
      Element local name.
      See Also:
      Constant Field Values
    • ELEMENT_NAME

      static final QName ELEMENT_NAME
      Qualified element name.
    • TYPE_ATTRIB_NAME

      static final String TYPE_ATTRIB_NAME
      The Type attribute local name.
      See Also:
      Constant Field Values
    • TYPE_PASSWORD_TEXT

      static final String TYPE_PASSWORD_TEXT
      The wsse:Password/@Type attribute URI value #PasswordText (DEFAULT).
      See Also:
      Constant Field Values
    • TYPE_PASSWORD_DIGEST

      static final String TYPE_PASSWORD_DIGEST
      The wsse:Password/@Type attribute URI value #PasswordDigest.
      See Also:
      Constant Field Values
  • Method Details

    • getType

      String getType()
      Returns the wsse:Password/@Type attribute URI value.
      Returns:
      the Type attribute URI value.
    • setType

      void setType​(String type)
      Sets the wsse:Password/@Type attribute URI value.
      Parameters:
      type - the Type attribute URI value to set.