Interface UsernameTokenType

  • All Superinterfaces:
    XmlObject, XmlTokenSource

    public interface UsernameTokenType
    extends XmlObject
    An XML UsernameTokenType(@http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd). This is a complex type.
    • Method Detail

      • setUsername

        void setUsername​(AttributedString username)
        Sets the "Username" element
      • addNewUsername

        AttributedString addNewUsername()
        Appends and returns a new empty "Username" element
      • getId

        String getId()
        Gets the "Id" attribute
      • xgetId

        XmlID xgetId()
        Gets (as xml) the "Id" attribute
      • isSetId

        boolean isSetId()
        True if has "Id" attribute
      • setId

        void setId​(String id)
        Sets the "Id" attribute
      • xsetId

        void xsetId​(XmlID id)
        Sets (as xml) the "Id" attribute
      • unsetId

        void unsetId()
        Unsets the "Id" attribute