public class UsernameTokenImpl extends AbstractWSSecurityObject implements UsernameToken
UsernameToken.ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAMEWSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME| Constructor and Description |
|---|
UsernameTokenImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
AttributeMap |
getUnknownAttributes()
Gets a mutable map of the attributes.
|
List<XMLObject> |
getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
Username |
getUsername()
Returns the <wsse:Username> child element.
|
String |
getWSUId()
Returns the
@wsu:Id attribute value. |
void |
setUsername(Username newUsername)
Sets the <wsse:Username> child element.
|
void |
setWSUId(String newId)
Sets the
@wsu:Id attribute value. |
deregisterValidator, getValidators, registerValidator, validate, validateChildrenaddNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationpublic Username getUsername()
getUsername in interface UsernameTokenUsername child element.public void setUsername(Username newUsername)
setUsername in interface UsernameTokennewUsername - the Username child element to set.public String getWSUId()
@wsu:Id attribute value.public void setWSUId(String newId)
@wsu:Id attribute value.public AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects in interface ElementExtensibleXMLObjectpublic List<XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects in interface ElementExtensibleXMLObjecttypeOrName - the QName of the statements to returnpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectgetOrderedChildren in class AbstractWSSecurityObjectCopyright © 2018 JBoss by Red Hat. All rights reserved.