Interface UsernameTokenType
-
- All Known Subinterfaces:
UsernameTokenElement
- All Known Implementing Classes:
UsernameTokenElementImpl,UsernameTokenTypeImpl
public interface UsernameTokenTypeThis type represents a username token per Section 4.1 Java content class for UsernameTokenType complex type.The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/oasis-200401-wss-wssecurity-secext-1.0.xsd line 45)
<complexType name="UsernameTokenType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Username" type="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString"/> <any/> </sequence> <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/> </restriction> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetAny()Gets the value of the Any property.StringgetId()Gets the value of the id property.AttributedStringgetUsername()Gets the value of the username property.voidsetId(String value)Sets the value of the id property.voidsetUsername(AttributedString value)Sets the value of the username property.
-
-
-
Method Detail
-
getAny
List getAny()
Gets the value of the Any property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the Any property.For example, to add a new item, do as follows:
getAny().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
getUsername
AttributedString getUsername()
Gets the value of the username property.- Returns:
- possible object is
AttributedString
-
setUsername
void setUsername(AttributedString value)
Sets the value of the username property.- Parameters:
value- allowed object isAttributedString
-
-