Class EntityDescriptorType
- java.lang.Object
-
- org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
-
- org.keycloak.dom.saml.v2.metadata.EntityDescriptorType
-
public class EntityDescriptorType extends TypeWithOtherAttributes
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 Classes Modifier and Type Class Description static classEntityDescriptorType.EDTChoiceTypestatic classEntityDescriptorType.EDTDescriptorChoiceType
-
Field Summary
Fields Modifier and Type Field Description protected List<AdditionalMetadataLocationType>additionalMetadataLocationprotected DurationcacheDurationprotected List<EntityDescriptorType.EDTChoiceType>choiceTypeprotected List<ContactType>contactPersonprotected StringentityIDprotected ExtensionsTypeextensionsprotected Stringidprotected OrganizationTypeorganizationprotected Elementsignatureprotected XMLGregorianCalendarvalidUntil-
Fields inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
otherAttributes
-
-
Constructor Summary
Constructors Constructor Description EntityDescriptorType(String entityID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)voidaddChoiceType(EntityDescriptorType.EDTChoiceType choiceType)Add a choice typevoidaddContactPerson(ContactType ct)Add aContactTypecontact personList<AdditionalMetadataLocationType>getAdditionalMetadataLocation()Gets the value of the additionalMetadataLocation property.DurationgetCacheDuration()Gets the value of the cacheDuration property.List<EntityDescriptorType.EDTChoiceType>getChoiceType()Get a read only list of choice typesList<ContactType>getContactPerson()Gets the value of the contactPerson property.StringgetEntityID()Gets the value of the entityID property.ExtensionsTypegetExtensions()Gets the value of the extensions property.StringgetID()Gets the value of the id property.OrganizationTypegetOrganization()Gets the value of the organization property.ElementgetSignature()Gets the value of the signature property.XMLGregorianCalendargetValidUntil()Gets the value of the validUntil property.voidremoveAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)Remove aAdditionalMetadataLocationTypevoidremoveChoiceType(EntityDescriptorType.EDTChoiceType choiceType)Remove a choice typevoidremoveContactPerson(ContactType ct)voidsetCacheDuration(Duration value)Sets the value of the cacheDuration property.voidsetExtensions(ExtensionsType value)Sets the value of the extensions property.voidsetID(String value)Sets 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.voidsetValidUntil(XMLGregorianCalendar value)Sets the value of the validUntil property.-
Methods inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
addOtherAttribute, getOtherAttributes, removeOtherAttribute
-
-
-
-
Field Detail
-
signature
protected Element signature
-
extensions
protected ExtensionsType extensions
-
choiceType
protected List<EntityDescriptorType.EDTChoiceType> choiceType
-
organization
protected OrganizationType organization
-
contactPerson
protected List<ContactType> contactPerson
-
additionalMetadataLocation
protected List<AdditionalMetadataLocationType> additionalMetadataLocation
-
entityID
protected String entityID
-
validUntil
protected XMLGregorianCalendar validUntil
-
cacheDuration
protected Duration cacheDuration
-
id
protected String id
-
-
Constructor Detail
-
EntityDescriptorType
public EntityDescriptorType(String entityID)
-
-
Method Detail
-
getSignature
public Element getSignature()
Gets the value of the signature property.- Returns:
- possible object is
Element
-
setSignature
public void setSignature(Element value)
Sets the value of the signature property.- Parameters:
value- allowed object isElement
-
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 isExtensionsType
-
getChoiceType
public List<EntityDescriptorType.EDTChoiceType> getChoiceType()
Get a read only list of choice types- Returns:
-
addChoiceType
public void addChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
Add a choice type- Parameters:
choiceType-
-
removeChoiceType
public void removeChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
Remove a choice type- Parameters:
choiceType-
-
getOrganization
public OrganizationType getOrganization()
Gets the value of the organization property.- Returns:
- possible object is
OrganizationType
-
setOrganization
public void setOrganization(OrganizationType value)
Sets the value of the organization property.- Parameters:
value- allowed object isOrganizationType
-
addContactPerson
public void addContactPerson(ContactType ct)
Add aContactTypecontact person- Parameters:
ct-
-
removeContactPerson
public void removeContactPerson(ContactType ct)
-
getContactPerson
public List<ContactType> getContactPerson()
Gets the value of the contactPerson property.Objects of the following type(s) are allowed in the list
ContactType
-
addAdditionalMetadataLocationType
public void addAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
- Parameters:
amld-
-
removeAdditionalMetadataLocationType
public void removeAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
Remove aAdditionalMetadataLocationType- Parameters:
amld-
-
getAdditionalMetadataLocation
public List<AdditionalMetadataLocationType> 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
public String getEntityID()
Gets the value of the entityID property.- Returns:
- possible object is
String
-
getValidUntil
public XMLGregorianCalendar getValidUntil()
Gets the value of the validUntil property.- Returns:
- possible object is
XMLGregorianCalendar
-
setValidUntil
public void setValidUntil(XMLGregorianCalendar value)
Sets the value of the validUntil property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
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 isDuration
-
-