public interface RoleDescriptor extends SignableSAMLObject, TimeBoundSAMLObject, CacheableSAMLObject, AttributeExtensibleXMLObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.
|
static javax.xml.namespace.QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static java.lang.String |
ERROR_URL_ATTRIB_NAME
"errorURL" attribute's local name.
|
static java.lang.String |
ID_ATTRIB_NAME
"ID" attribute's local name.
|
static java.lang.String |
PROTOCOL_ENUMERATION_ATTRIB_NAME
"protocolEnumeration" attribute's local name.
|
static java.lang.String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static javax.xml.namespace.QName |
TYPE_NAME
QName of the XSI type.
|
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAMECACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME| Modifier and Type | Method and Description |
|---|---|
void |
addSupportedProtocol(java.lang.String protocol)
Adds a protocol to the list of supported protocols for this role.
|
java.util.List<ContactPerson> |
getContactPersons()
Gets an immutable list of
ContactPersons for this role. |
java.util.List<Endpoint> |
getEndpoints()
Gets a read-only list of endpoints for this role.
|
java.util.List<Endpoint> |
getEndpoints(javax.xml.namespace.QName type)
Gets a read-only list of endpoints for this role for the given type.
|
java.lang.String |
getErrorURL()
Gets the URI users should be sent to in the event of an error.
|
Extensions |
getExtensions()
Gets the Extensions child of this object.
|
java.lang.String |
getID()
Gets the ID of this role descriptor.
|
java.util.List<KeyDescriptor> |
getKeyDescriptors()
Gets the key descriptors for this role.
|
Organization |
getOrganization()
Gets the organization responsible for this role.
|
java.util.List<java.lang.String> |
getSupportedProtocols()
Gets an immutable list of protocol URIs supported by this role.
|
boolean |
isSupportedProtocol(java.lang.String protocol)
Chckes to see if the given protocol is supported by this role.
|
void |
removeAllSupportedProtocols()
Removes all the supported protocols from this role.
|
void |
removeSupportedProtocol(java.lang.String protocol)
Removes a protocol to the list of supported protocols for this role.
|
void |
removeSupportedProtocols(java.util.Collection<java.lang.String> protocols)
Removes a list of protocols to the list of supported protocols for this role.
|
void |
setErrorURL(java.lang.String errorURL)
Sets the URI users should be sent to in the event of an error.
|
void |
setExtensions(Extensions extensions)
Sets the Extensions child of this object.
|
void |
setID(java.lang.String newID)
Sets the ID of this role descriptor.
|
void |
setOrganization(Organization organization)
Sets the organization responsible for this role.
|
getSignatureReferenceIDgetSignature, isSigned, setSignaturegetValidUntil, isValid, setValidUntilgetCacheDuration, setCacheDurationdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationgetUnknownAttributesstatic final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
static final java.lang.String TYPE_LOCAL_NAME
static final javax.xml.namespace.QName TYPE_NAME
static final java.lang.String ID_ATTRIB_NAME
static final java.lang.String PROTOCOL_ENUMERATION_ATTRIB_NAME
static final java.lang.String ERROR_URL_ATTRIB_NAME
java.lang.String getID()
void setID(java.lang.String newID)
newID - the ID of this role descriptorjava.util.List<java.lang.String> getSupportedProtocols()
boolean isSupportedProtocol(java.lang.String protocol)
protocol - the protocolvoid addSupportedProtocol(java.lang.String protocol)
protocol - the protocolvoid removeSupportedProtocol(java.lang.String protocol)
protocol - the protocolvoid removeSupportedProtocols(java.util.Collection<java.lang.String> protocols)
protocols - the protocolvoid removeAllSupportedProtocols()
java.lang.String getErrorURL()
void setErrorURL(java.lang.String errorURL)
errorURL - the URI users should be sent to in the event of an errorExtensions getExtensions()
void setExtensions(Extensions extensions)
extensions - the Extensions child of this objectjava.util.List<KeyDescriptor> getKeyDescriptors()
Organization getOrganization()
void setOrganization(Organization organization)
organization - the organization responsible for this rolejava.util.List<ContactPerson> getContactPersons()
ContactPersons for this role.ContactPersons for this rolejava.util.List<Endpoint> getEndpoints()
java.util.List<Endpoint> getEndpoints(javax.xml.namespace.QName type)
type - the type of endpoints to retrieve