|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject
org.opensaml.ws.wssecurity.impl.UsernameTokenImpl
public class UsernameTokenImpl
Implementation of UsernameToken.
| Field Summary | |
|---|---|
private String |
id
The <wsu:Id> attribute value. |
private AttributeMap |
unknownAttributes
Wildcard attributes. |
private IndexedXMLObjectChildrenList<XMLObject> |
unknownChildren
Wildcard child elements. |
private Username |
username
The <wsse:Username> child element. |
| Fields inherited from interface org.opensaml.ws.wssecurity.UsernameToken |
|---|
ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
| Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing |
|---|
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME |
| Constructor Summary | |
|---|---|
UsernameTokenImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
|
| Method Summary | |
|---|---|
List<XMLObject> |
getOrderedChildren()
|
AttributeMap |
getUnknownAttributes()
|
List<XMLObject> |
getUnknownXMLObjects()
|
List<XMLObject> |
getUnknownXMLObjects(QName typeOrName)
|
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. |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
addNamespace, 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, setSchemaLocation |
| Field Detail |
|---|
private String id
private Username username
private AttributeMap unknownAttributes
private IndexedXMLObjectChildrenList<XMLObject> unknownChildren
| Constructor Detail |
|---|
public UsernameTokenImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
namespaceURI - namespace of the elementelementLocalName - name of the elementnamespacePrefix - namespace prefix of the element| Method Detail |
|---|
public 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.
getWSUId in interface IdBearing@wsu:Id attribute value or null.public void setWSUId(String newId)
@wsu:Id attribute value.
setWSUId in interface IdBearingnewId - The @wsu:Id attribute valuepublic AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects in interface ElementExtensibleXMLObjectpublic List<XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects in interface ElementExtensibleXMLObjectpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectgetOrderedChildren in class AbstractWSSecurityObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||