public abstract class RoleDescriptorType extends TypeWithOtherAttributes
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" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
cacheDuration |
protected List<ContactType> |
contactPerson |
protected String |
errorURL |
protected ExtensionsType |
extensions |
protected String |
id |
protected List<KeyDescriptorType> |
keyDescriptor |
protected OrganizationType |
organization |
protected List<String> |
protocolSupportEnumeration |
protected Element |
signature |
protected XMLGregorianCalendar |
validUntil |
otherAttributes| Constructor and Description |
|---|
RoleDescriptorType(List<String> protocolSupport) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContactPerson(ContactType contact)
Add contact
|
void |
addKeyDescriptor(KeyDescriptorType keyD)
Add key descriptor
|
Duration |
getCacheDuration()
Gets the value of the cacheDuration property.
|
List<ContactType> |
getContactPerson()
Gets the value of the contactPerson property.
|
String |
getErrorURL()
Gets the value of the errorURL property.
|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
String |
getID()
Gets the value of the id property.
|
List<KeyDescriptorType> |
getKeyDescriptor()
Gets the value of the keyDescriptor property.
|
OrganizationType |
getOrganization()
Gets the value of the organization property.
|
List<String> |
getProtocolSupportEnumeration()
Gets the value of the protocolSupportEnumeration property.
|
Element |
getSignature()
Gets the value of the signature property.
|
XMLGregorianCalendar |
getValidUntil()
Gets the value of the validUntil property.
|
void |
removeContactPerson(ContactType contact)
remove contact
|
void |
removeKeyDescriptor(KeyDescriptorType keyD)
remove key descriptor
|
void |
setCacheDuration(Duration value)
Sets the value of the cacheDuration property.
|
void |
setErrorURL(String value)
Sets the value of the errorURL property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
void |
setID(String value)
Sets the value of the id property.
|
void |
setOrganization(OrganizationType value)
Sets the value of the organization property.
|
void |
setSignature(Element value)
Sets the value of the signature property.
|
void |
setValidUntil(XMLGregorianCalendar value)
Sets the value of the validUntil property.
|
addOtherAttribute, getOtherAttributes, removeOtherAttributeprotected Element signature
protected ExtensionsType extensions
protected List<KeyDescriptorType> keyDescriptor
protected OrganizationType organization
protected List<ContactType> contactPerson
protected String id
protected XMLGregorianCalendar validUntil
protected Duration cacheDuration
protected String errorURL
public void addKeyDescriptor(KeyDescriptorType keyD)
keyD - public void addContactPerson(ContactType contact)
contact - public void removeKeyDescriptor(KeyDescriptorType keyD)
keyD - public void removeContactPerson(ContactType contact)
contact - public Element getSignature()
SignatureTypepublic void setSignature(Element value)
value - allowed object is SignatureTypepublic ExtensionsType getExtensions()
ExtensionsTypepublic void setExtensions(ExtensionsType value)
value - allowed object is ExtensionsTypepublic List<KeyDescriptorType> getKeyDescriptor()
Objects of the following type(s) are allowed in the list KeyDescriptorType
public OrganizationType getOrganization()
OrganizationTypepublic void setOrganization(OrganizationType value)
value - allowed object is OrganizationTypepublic List<ContactType> getContactPerson()
Objects of the following type(s) are allowed in the list ContactType
public void setID(String value)
value - allowed object is Stringpublic XMLGregorianCalendar getValidUntil()
XMLGregorianCalendarpublic void setValidUntil(XMLGregorianCalendar value)
value - allowed object is XMLGregorianCalendarpublic Duration getCacheDuration()
Durationpublic void setCacheDuration(Duration value)
value - allowed object is Durationpublic List<String> getProtocolSupportEnumeration()
Objects of the following type(s) are allowed in the list String
public String getErrorURL()
StringCopyright © 2016 JBoss by Red Hat. All rights reserved.