Interface UsernameToken

  • All Superinterfaces:
    org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.ElementExtensibleXMLObject, IdBearing, WSSecurityObject, org.opensaml.core.xml.XMLObject

    public interface UsernameToken
    extends IdBearing, org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.ElementExtensibleXMLObject, WSSecurityObject
    The <wsse:UsernameToken> element.
    See Also:
    "WS-Security UsernameToken Profile 1.1"
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Username getUsername()
      Returns the <wsse:Username> child element.
      void setUsername​(Username username)
      Sets the <wsse:Username> child element.
      • Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject

        getUnknownAttributes
      • Methods inherited from interface org.opensaml.core.xml.ElementExtensibleXMLObject

        getUnknownXMLObjects, getUnknownXMLObjects
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • ELEMENT_NAME

        static final QName ELEMENT_NAME
        Qualified element name.
      • TYPE_NAME

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

      • 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.