Class RoleDescriptorType
java.lang.Object
org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
org.keycloak.dom.saml.v2.metadata.RoleDescriptorType
- Direct Known Subclasses:
AttributeAuthorityDescriptorType
,AuthnAuthorityDescriptorType
,PDPDescriptorType
,SSODescriptorType
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>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Duration
protected List<ContactType>
protected String
protected ExtensionsType
protected String
protected List<KeyDescriptorType>
protected OrganizationType
protected Element
protected XMLGregorianCalendar
Fields inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
otherAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContactPerson
(ContactType contact) Add contactvoid
Add key descriptorGets the value of the cacheDuration property.Gets the value of the contactPerson property.Gets the value of the errorURL property.Gets the value of the extensions property.getID()
Gets the value of the id property.Gets the value of the keyDescriptor property.Gets the value of the organization property.Gets the value of the protocolSupportEnumeration property.Gets the value of the signature property.Gets the value of the validUntil property.void
removeContactPerson
(ContactType contact) remove contactvoid
remove key descriptorvoid
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
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
Sets the value of the validUntil property.Methods inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
addOtherAttribute, getOtherAttributes, removeOtherAttribute
-
Field Details
-
signature
-
extensions
-
keyDescriptor
-
organization
-
contactPerson
-
id
-
validUntil
-
cacheDuration
-
protocolSupportEnumeration
-
errorURL
-
-
Constructor Details
-
RoleDescriptorType
-
-
Method Details
-
addKeyDescriptor
Add key descriptor- Parameters:
keyD
-
-
addContactPerson
Add contact- Parameters:
contact
-
-
removeKeyDescriptor
remove key descriptor- Parameters:
keyD
-
-
removeContactPerson
remove contact- Parameters:
contact
-
-
getSignature
Gets the value of the signature property.- Returns:
- possible object is
SignatureType
-
setSignature
Sets the value of the signature property.- Parameters:
value
- allowed object isSignatureType
-
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
-
getKeyDescriptor
Gets the value of the keyDescriptor property.Objects of the following type(s) are allowed in the list
KeyDescriptorType
-
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
-
getContactPerson
Gets the value of the contactPerson property.Objects of the following type(s) are allowed in the list
ContactType
-
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
-
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
-
getProtocolSupportEnumeration
Gets the value of the protocolSupportEnumeration property.Objects of the following type(s) are allowed in the list
String
-
getErrorURL
Gets the value of the errorURL property.- Returns:
- possible object is
String
-
setErrorURL
Sets the value of the errorURL property.- Parameters:
value
- allowed object isString
-