Class RoleDescriptorType

  • Direct Known Subclasses:
    AttributeAuthorityDescriptorType, AuthnAuthorityDescriptorType, PDPDescriptorType, SSODescriptorType

    public class RoleDescriptorType
    extends Object

    Java class for RoleDescriptorType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="RoleDescriptorType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Extensions" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}KeyDescriptor" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Organization" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ContactPerson" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
           <attribute name="validUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="cacheDuration" type="{http://www.w3.org/2001/XMLSchema}duration" />
           <attribute name="protocolSupportEnumeration" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}anyURIListType" />
           <attribute name="errorURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • RoleDescriptorType

        public RoleDescriptorType()
    • Method Detail

      • getSignature

        public SignatureType getSignature()
        Gets the value of the signature property.
        Returns:
        possible object is SignatureType
      • setSignature

        public void setSignature​(SignatureType value)
        Sets the value of the signature property.
        Parameters:
        value - allowed object is SignatureType
      • getExtensions

        public ExtensionsType getExtensions()
        Gets the value of the extensions property.
        Returns:
        possible object is ExtensionsType
      • setExtensions

        public void setExtensions​(ExtensionsType value)
        Sets the value of the extensions property.
        Parameters:
        value - allowed object is ExtensionsType
      • getKeyDescriptor

        public List<KeyDescriptorType> getKeyDescriptor()
        Gets the value of the keyDescriptor 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 keyDescriptor property.

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

            getKeyDescriptor().add(newItem);
         

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

      • setOrganization

        public void setOrganization​(OrganizationType value)
        Sets the value of the organization property.
        Parameters:
        value - allowed object is OrganizationType
      • getContactPerson

        public List<ContactType> getContactPerson()
        Gets the value of the contactPerson 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 contactPerson property.

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

            getContactPerson().add(newItem);
         

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

      • getID

        public String getID()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setID

        public void setID​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getCacheDuration

        public Duration getCacheDuration()
        Gets the value of the cacheDuration property.
        Returns:
        possible object is Duration
      • setCacheDuration

        public void setCacheDuration​(Duration value)
        Sets the value of the cacheDuration property.
        Parameters:
        value - allowed object is Duration
      • getProtocolSupportEnumeration

        public List<String> getProtocolSupportEnumeration()
        Gets the value of the protocolSupportEnumeration 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 protocolSupportEnumeration property.

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

            getProtocolSupportEnumeration().add(newItem);
         

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

      • getErrorURL

        public String getErrorURL()
        Gets the value of the errorURL property.
        Returns:
        possible object is String
      • setErrorURL

        public void setErrorURL​(String value)
        Sets the value of the errorURL property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null