Interface UsernameToken

All Superinterfaces:
AttributeExtensibleXMLObject, ElementExtensibleXMLObject, IdBearing, WSSecurityObject, XMLObject
All Known Implementing Classes:
UsernameTokenImpl

public interface UsernameToken
extends IdBearing, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, WSSecurityObject
The <wsse:UsernameToken> 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_LOCAL_NAME

      static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
      Constant Field Values
    • TYPE_NAME

      static final QName TYPE_NAME
      QName of the XSI type.
  • Method Details

    • getUsername

      Username getUsername()
      Returns the <wsse:Username> child element.
      Returns:
      the Username child element.
    • setUsername

      void setUsername​(Username username)
      Sets the <wsse:Username> child element.
      Parameters:
      username - the Username child element to set.