public interface RoleDescriptor extends SignableSAMLObject, TimeBoundSAMLObject, CacheableSAMLObject, AttributeExtensibleXMLObject
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static String |
ERROR_URL_ATTRIB_NAME
"errorURL" attribute's local name.
|
static String |
ID_ATTRIB_NAME
"ID" attribute's local name.
|
static String |
PROTOCOL_ENUMERATION_ATTRIB_NAME
"protocolEnumeration" attribute's local name.
|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
Modifier and Type | Method and Description |
---|---|
void |
addSupportedProtocol(String protocol)
Adds a protocol to the list of supported protocols for this role.
|
List<ContactPerson> |
getContactPersons()
Gets an immutable list of
ContactPerson s for this role. |
List<Endpoint> |
getEndpoints()
Gets a read-only list of endpoints for this role.
|
List<Endpoint> |
getEndpoints(QName type)
Gets a read-only list of endpoints for this role for the given type.
|
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.
|
String |
getID()
Gets the ID of this role descriptor.
|
List<KeyDescriptor> |
getKeyDescriptors()
Gets the key descriptors for this role.
|
Organization |
getOrganization()
Gets the organization responsible for this role.
|
List<String> |
getSupportedProtocols()
Gets an immutable list of protocol URIs supported by this role.
|
boolean |
isSupportedProtocol(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(String protocol)
Removes a protocol to the list of supported protocols for this role.
|
void |
removeSupportedProtocols(Collection<String> protocols)
Removes a list of protocols to the list of supported protocols for this role.
|
void |
setErrorURL(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(String newID)
Sets the ID of this role descriptor.
|
void |
setOrganization(Organization organization)
Sets the organization responsible for this role.
|
getSignatureReferenceID
getSignature, isSigned, setSignature
getValidUntil, isValid, setValidUntil
getCacheDuration, setCacheDuration
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
getUnknownAttributes
static final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String ID_ATTRIB_NAME
static final String PROTOCOL_ENUMERATION_ATTRIB_NAME
static final String ERROR_URL_ATTRIB_NAME
String getID()
void setID(String newID)
newID
- the ID of this role descriptorList<String> getSupportedProtocols()
boolean isSupportedProtocol(String protocol)
protocol
- the protocolvoid addSupportedProtocol(String protocol)
protocol
- the protocolvoid removeSupportedProtocol(String protocol)
protocol
- the protocolvoid removeSupportedProtocols(Collection<String> protocols)
protocols
- the protocolvoid removeAllSupportedProtocols()
String getErrorURL()
void setErrorURL(String errorURL)
errorURL
- the URI users should be sent to in the event of an errorExtensions getExtensions()
void setExtensions(Extensions extensions) throws IllegalArgumentException
extensions
- the Extensions child of this objectIllegalArgumentException
- thrown if the given extensions Object is already a child of another SAMLObjectList<KeyDescriptor> getKeyDescriptors()
Organization getOrganization()
void setOrganization(Organization organization) throws IllegalArgumentException
organization
- the organization responsible for this roleIllegalArgumentException
- thrown if the given organization is owned by another elementList<ContactPerson> getContactPersons()
ContactPerson
s for this role.ContactPerson
s for this roleList<Endpoint> getEndpoints()
Copyright © 2018 JBoss by Red Hat. All rights reserved.