Interface UsernameTokenType

  • All Known Subinterfaces:
    UsernameTokenElement
    All Known Implementing Classes:
    UsernameTokenElementImpl, UsernameTokenTypeImpl

    public interface UsernameTokenType
    This 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 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 set method 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

      • getId

        String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String