public abstract class RoleDescriptorImpl extends AbstractSignableSAMLObject implements RoleDescriptor
RoleDescriptor.| Modifier and Type | Field and Description |
|---|---|
private Long |
cacheDuration
cacheDurection attribute.
|
private org.opensaml.core.xml.util.XMLObjectChildrenList<ContactPerson> |
contactPersons
Contact persons for this role.
|
private String |
errorURL
Error URL.
|
private Extensions |
extensions
Extensions child.
|
private String |
id
ID attribute.
|
private org.opensaml.core.xml.util.XMLObjectChildrenList<KeyDescriptor> |
keyDescriptors
Key descriptors for this role.
|
private Organization |
organization
Organization administering this role.
|
private List<String> |
supportedProtocols
Set of supported protocols.
|
private org.opensaml.core.xml.util.AttributeMap |
unknownAttributes
"anyAttribute" attributes.
|
private org.joda.time.DateTime |
validUntil
validUntil attribute.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEVALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAMECACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME| Modifier | Constructor and Description |
|---|---|
protected |
RoleDescriptorImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSupportedProtocol(String protocol) |
Long |
getCacheDuration() |
List<ContactPerson> |
getContactPersons() |
String |
getErrorURL() |
Extensions |
getExtensions() |
String |
getID() |
List<KeyDescriptor> |
getKeyDescriptors() |
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
Organization |
getOrganization() |
String |
getSignatureReferenceID() |
List<String> |
getSupportedProtocols() |
org.opensaml.core.xml.util.AttributeMap |
getUnknownAttributes() |
org.joda.time.DateTime |
getValidUntil() |
boolean |
isSupportedProtocol(String protocol) |
boolean |
isValid() |
void |
removeAllSupportedProtocols() |
void |
removeSupportedProtocol(String protocol) |
void |
removeSupportedProtocols(Collection<String> protocols) |
void |
setCacheDuration(Long duration) |
void |
setErrorURL(String url) |
void |
setExtensions(Extensions ext) |
void |
setID(String newID) |
void |
setOrganization(Organization org) |
void |
setValidUntil(org.joda.time.DateTime dt) |
equals, hashCode, prepareForAssignment, setSignaturegetSignature, isSigneddetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetEndpoints, getEndpointsgetSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate String id
private org.joda.time.DateTime validUntil
private Long cacheDuration
private String errorURL
private Extensions extensions
private Organization organization
private final org.opensaml.core.xml.util.AttributeMap unknownAttributes
private final org.opensaml.core.xml.util.XMLObjectChildrenList<ContactPerson> contactPersons
private final org.opensaml.core.xml.util.XMLObjectChildrenList<KeyDescriptor> keyDescriptors
protected RoleDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic String getID()
getID in interface RoleDescriptorpublic void setID(String newID)
setID in interface RoleDescriptorpublic boolean isValid()
isValid in interface TimeBoundSAMLObjectpublic org.joda.time.DateTime getValidUntil()
getValidUntil in interface TimeBoundSAMLObjectpublic void setValidUntil(org.joda.time.DateTime dt)
setValidUntil in interface TimeBoundSAMLObjectpublic Long getCacheDuration()
getCacheDuration in interface CacheableSAMLObjectpublic void setCacheDuration(Long duration)
setCacheDuration in interface CacheableSAMLObjectpublic List<String> getSupportedProtocols()
getSupportedProtocols in interface RoleDescriptorpublic boolean isSupportedProtocol(String protocol)
isSupportedProtocol in interface RoleDescriptorpublic void addSupportedProtocol(String protocol)
addSupportedProtocol in interface RoleDescriptorpublic void removeSupportedProtocol(String protocol)
removeSupportedProtocol in interface RoleDescriptorpublic void removeSupportedProtocols(Collection<String> protocols)
removeSupportedProtocols in interface RoleDescriptorpublic void removeAllSupportedProtocols()
removeAllSupportedProtocols in interface RoleDescriptorpublic String getErrorURL()
getErrorURL in interface RoleDescriptorpublic void setErrorURL(String url)
setErrorURL in interface RoleDescriptorpublic Extensions getExtensions()
getExtensions in interface RoleDescriptorpublic void setExtensions(Extensions ext)
setExtensions in interface RoleDescriptorpublic Organization getOrganization()
getOrganization in interface RoleDescriptorpublic void setOrganization(Organization org)
setOrganization in interface RoleDescriptorpublic List<ContactPerson> getContactPersons()
getContactPersons in interface RoleDescriptorpublic List<KeyDescriptor> getKeyDescriptors()
getKeyDescriptors in interface RoleDescriptorpublic org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObjectpublic String getSignatureReferenceID()
getSignatureReferenceID in interface SignableSAMLObjectpublic List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.core.xml.XMLObjectCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.