Class EntityDescriptorType
java.lang.Object
org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
org.keycloak.dom.saml.v2.metadata.EntityDescriptorType
Java class for EntityDescriptorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntityDescriptorType">
<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"/>
<choice>
<choice maxOccurs="unbounded">
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}RoleDescriptor"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptor"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AuthnAuthorityDescriptor"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeAuthorityDescriptor"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}PDPDescriptor"/>
</choice>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AffiliationDescriptor"/>
</choice>
<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"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AdditionalMetadataLocation" maxOccurs="unbounded"
minOccurs="0"/>
</sequence>
<attribute name="entityID" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}entityIDType" />
<attribute name="validUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="cacheDuration" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AdditionalMetadataLocationType>protected Durationprotected List<EntityDescriptorType.EDTChoiceType>protected List<ContactType>protected Stringprotected ExtensionsTypeprotected Stringprotected OrganizationTypeprotected Elementprotected XMLGregorianCalendarFields inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
otherAttributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddChoiceType(EntityDescriptorType.EDTChoiceType choiceType) Add a choice typevoidAdd aContactTypecontact personGets the value of the additionalMetadataLocation property.Gets the value of the cacheDuration property.Get a read only list of choice typesGets the value of the contactPerson property.Gets the value of the entityID property.Gets the value of the extensions property.getID()Gets the value of the id property.Gets the value of the organization property.Gets the value of the signature property.Gets the value of the validUntil property.voidRemove aAdditionalMetadataLocationTypevoidremoveChoiceType(EntityDescriptorType.EDTChoiceType choiceType) Remove a choice typevoidvoidsetCacheDuration(Duration value) Sets the value of the cacheDuration property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.voidSets the value of the id property.voidsetOrganization(OrganizationType value) Sets the value of the organization property.voidsetSignature(Element value) Sets the value of the signature property.voidSets the value of the validUntil property.Methods inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
addOtherAttribute, getOtherAttributes, removeOtherAttribute
-
Field Details
-
signature
-
extensions
-
choiceType
-
organization
-
contactPerson
-
additionalMetadataLocation
-
entityID
-
validUntil
-
cacheDuration
-
id
-
-
Constructor Details
-
EntityDescriptorType
-
-
Method Details
-
getSignature
Gets the value of the signature property.- Returns:
- possible object is
Element
-
setSignature
Sets the value of the signature property.- Parameters:
value- allowed object isElement
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-
getChoiceType
Get a read only list of choice types- Returns:
-
addChoiceType
Add a choice type- Parameters:
choiceType-
-
removeChoiceType
Remove a choice type- Parameters:
choiceType-
-
getOrganization
Gets the value of the organization property.- Returns:
- possible object is
OrganizationType
-
setOrganization
Sets the value of the organization property.- Parameters:
value- allowed object isOrganizationType
-
addContactPerson
Add aContactTypecontact person- Parameters:
ct-
-
removeContactPerson
-
getContactPerson
Gets the value of the contactPerson property.Objects of the following type(s) are allowed in the list
ContactType -
addAdditionalMetadataLocationType
- Parameters:
amld-
-
removeAdditionalMetadataLocationType
Remove aAdditionalMetadataLocationType- Parameters:
amld-
-
getAdditionalMetadataLocation
Gets the value of the additionalMetadataLocation 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 additionalMetadataLocation property.For example, to add a new item, do as follows:
getAdditionalMetadataLocation().add(newItem);
Objects of the following type(s) are allowed in the list
AdditionalMetadataLocationType -
getEntityID
Gets the value of the entityID property.- Returns:
- possible object is
String
-
getValidUntil
Gets the value of the validUntil property.- Returns:
- possible object is
XMLGregorianCalendar
-
setValidUntil
Sets the value of the validUntil property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getCacheDuration
Gets the value of the cacheDuration property.- Returns:
- possible object is
Duration
-
setCacheDuration
Sets the value of the cacheDuration property.- Parameters:
value- allowed object isDuration
-
getID
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
Sets the value of the id property.- Parameters:
value- allowed object isString
-