Interface SecurityTokenReferenceType

  • All Known Subinterfaces:
    SecurityTokenReferenceElement
    All Known Implementing Classes:
    SecurityTokenReferenceElementImpl, SecurityTokenReferenceTypeImpl

    public interface SecurityTokenReferenceType
    This type is used reference a security token. Java content class for SecurityTokenReferenceType 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 105)

     <complexType name="SecurityTokenReferenceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <any/>
           </choice>
           <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Usage"/>
           <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
      • getUsage

        List getUsage()
        Gets the value of the Usage 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 Usage property.

        For example, to add a new item, do as follows:

            getUsage().add(newItem);
         

        Objects of the following type(s) are allowed in the list String