org.opensaml.ws.wssecurity
Interface UsernameToken

All Superinterfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, IdBearing, WSSecurityObject, org.opensaml.xml.XMLObject
All Known Implementing Classes:
UsernameTokenImpl

public interface UsernameToken
extends IdBearing, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, WSSecurityObject

The <wsse:UsernameToken> element.

See Also:
"WS-Security UsernameToken Profile 1.1"

Field Summary
static String ELEMENT_LOCAL_NAME
          Element local name.
static QName ELEMENT_NAME
          Qualified element name.
static String TYPE_LOCAL_NAME
          Local name of the XSI type.
static QName TYPE_NAME
          QName of the XSI type.
 
Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
 
Method Summary
 Username getUsername()
          Returns the <wsse:Username> child element.
 void setUsername(Username username)
          Sets the <wsse:Username> child element.
 
Methods inherited from interface org.opensaml.ws.wssecurity.IdBearing
getWSUId, setWSUId
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 
Methods inherited from interface org.opensaml.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjects
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

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


Copyright © 2006-2013 Internet2. All Rights Reserved.