public interface EntityDescriptor 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 QName |
ELEMENT_QNAME
Element QName, no prefix
|
static String |
ENTITY_ID_ATTRIB_NAME
"Name" attribute name
|
static String |
ID_ATTRIB_NAME
"ID" attribute 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 |
---|---|
List<AdditionalMetadataLocation> |
getAdditionalMetadataLocations()
Gets the additional metadata locations for this entity.
|
AffiliationDescriptor |
getAffiliationDescriptor()
Gets the affiliation descriptor for this entity.
|
AttributeAuthorityDescriptor |
getAttributeAuthorityDescriptor(String supportedProtocol)
Gets the first
AttributeAuthorityDescriptor role descriptor for this entity that supports the given protocol. |
AuthnAuthorityDescriptor |
getAuthnAuthorityDescriptor(String supportedProtocol)
Gets the first
AuthnAuthorityDescriptor role descriptor for this entity that supports the given protocol. |
List<ContactPerson> |
getContactPersons()
Get the contact people for this entity.
|
String |
getEntityID()
Gets the entity ID for this entity descriptor.
|
Extensions |
getExtensions()
Gets the Extensions child of this object.
|
String |
getID()
Gets the ID for this entity descriptor.
|
IDPSSODescriptor |
getIDPSSODescriptor(String supportedProtocol)
Gets the first
IDPSSODescriptor role descriptor for this entity that supports the given protocol. |
Organization |
getOrganization()
Gets the organization for this entity.
|
PDPDescriptor |
getPDPDescriptor(String supportedProtocol)
Gets the first
PDPDescriptor role descriptor for this entity that supports the given protocol. |
List<RoleDescriptor> |
getRoleDescriptors()
Gets all the role descriptors for this entity descriptor.
|
List<RoleDescriptor> |
getRoleDescriptors(QName typeOrName)
Gets all the role descriptors for this entity descriptor that match the supplied QName parameter.
|
List<RoleDescriptor> |
getRoleDescriptors(QName typeOrName,
String supportedProtocol)
Gets all the role descriptors for this entity that support the given protocol.
|
SPSSODescriptor |
getSPSSODescriptor(String supportedProtocol)
Gets the first
SPSSODescriptor role descriptor for this entity that supports the given protocol. |
void |
setAffiliationDescriptor(AffiliationDescriptor descriptor)
Sets the affiliation descriptor for this entity.
|
void |
setEntityID(String id)
Sets the entity ID for this entity descriptor.
|
void |
setExtensions(Extensions extensions)
Sets the Extensions child of this object.
|
void |
setID(String newID)
Sets the ID for this entity descriptor.
|
void |
setOrganization(Organization organization)
Sets the organization for this entity.
|
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 QName ELEMENT_QNAME
static final String ID_ATTRIB_NAME
static final String ENTITY_ID_ATTRIB_NAME
String getEntityID()
void setEntityID(String id)
id
- the entity ID for this entity descriptorString getID()
void setID(String newID)
newID
- the ID for this entity descriptorExtensions 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<RoleDescriptor> getRoleDescriptors()
List<RoleDescriptor> getRoleDescriptors(QName typeOrName)
typeOrName
- the name of the roleList<RoleDescriptor> getRoleDescriptors(QName typeOrName, String supportedProtocol)
typeOrName
- the name of the rolesupportedProtocol
- the supported protocolIDPSSODescriptor getIDPSSODescriptor(String supportedProtocol)
IDPSSODescriptor
role descriptor for this entity that supports the given protocol.IDPSSODescriptor
role descriptorSPSSODescriptor getSPSSODescriptor(String supportedProtocol)
SPSSODescriptor
role descriptor for this entity that supports the given protocol.SPSSODescriptor
role descriptorAuthnAuthorityDescriptor getAuthnAuthorityDescriptor(String supportedProtocol)
AuthnAuthorityDescriptor
role descriptor for this entity that supports the given protocol.AuthnAuthorityDescriptor
role descriptorAttributeAuthorityDescriptor getAttributeAuthorityDescriptor(String supportedProtocol)
AttributeAuthorityDescriptor
role descriptor for this entity that supports the given protocol.AttributeAuthorityDescriptor
role descriptorPDPDescriptor getPDPDescriptor(String supportedProtocol)
PDPDescriptor
role descriptor for this entity that supports the given protocol.PDPDescriptor
role descriptorAffiliationDescriptor getAffiliationDescriptor()
void setAffiliationDescriptor(AffiliationDescriptor descriptor) throws IllegalArgumentException
descriptor
- the affiliation descriptor for this entityIllegalArgumentException
- thrown if the descriptor is owned by another entity or if this entity already
has one or more role descriptors associated with itOrganization getOrganization()
void setOrganization(Organization organization) throws IllegalArgumentException
organization
- the organization for this entityIllegalArgumentException
- thrown if this organization belongs to another entityList<ContactPerson> getContactPersons()
List<AdditionalMetadataLocation> getAdditionalMetadataLocations()
Copyright © 2018 JBoss by Red Hat. All rights reserved.