Class EntityDescriptorImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.metadata.impl.EntityDescriptorImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,EntityDescriptor,SignableXMLObject
Concretate implementation of
EntityDescriptor.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLObjectChildrenList<AdditionalMetadataLocation>Additional metadata locations for this entity.private AffiliationDescriptorAffiliatition descriptor for this entity.private DurationcacheDurection attribute.private final XMLObjectChildrenList<ContactPerson>Contact persons for this entity.private StringEntity ID of this Entity.private ExtensionsExtensions child.private StringID attribute.private OrganizationOrganization the administers this entity.private final IndexedXMLObjectChildrenList<RoleDescriptor>Role descriptors for this entity.private final AttributeMap"anyAttribute" attributes.private InstantvalidUntil attribute.Fields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAMEFields inherited from interface org.opensaml.saml.saml2.metadata.EntityDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ELEMENT_QNAME, ENTITY_ID_ATTRIB_NAME, ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntityDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeAuthorityDescriptor(String supportedProtocol) getAuthnAuthorityDescriptor(String supportedProtocol) getID()getIDPSSODescriptor(String supportedProtocol) getPDPDescriptor(String supportedProtocol) getRoleDescriptors(QName typeOrName) getRoleDescriptors(QName type, String supportedProtocol) getSPSSODescriptor(String supportedProtocol) booleanisValid()voidsetAffiliationDescriptor(AffiliationDescriptor descriptor) voidsetCacheDuration(Duration duration) voidsetEntityID(String newId) voidsetExtensions(Extensions newExtensions) voidvoidsetOrganization(Organization newOrganization) voidsetValidUntil(Instant newValidUntil) Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
entityID
Entity ID of this Entity. -
id
ID attribute. -
validUntil
validUntil attribute. -
cacheDuration
cacheDurection attribute. -
extensions
Extensions child. -
roleDescriptors
Role descriptors for this entity. -
affiliationDescriptor
Affiliatition descriptor for this entity. -
organization
Organization the administers this entity. -
contactPersons
Contact persons for this entity. -
additionalMetadata
Additional metadata locations for this entity. -
unknownAttributes
"anyAttribute" attributes.
-
-
Constructor Details
-
EntityDescriptorImpl
protected EntityDescriptorImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getEntityID
- Specified by:
getEntityIDin interfaceEntityDescriptor
-
setEntityID
- Specified by:
setEntityIDin interfaceEntityDescriptor
-
getID
- Specified by:
getIDin interfaceEntityDescriptor
-
setID
- Specified by:
setIDin interfaceEntityDescriptor
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceTimeBoundSAMLObject
-
getValidUntil
- Specified by:
getValidUntilin interfaceTimeBoundSAMLObject
-
setValidUntil
- Specified by:
setValidUntilin interfaceTimeBoundSAMLObject
-
getCacheDuration
- Specified by:
getCacheDurationin interfaceCacheableSAMLObject
-
setCacheDuration
- Specified by:
setCacheDurationin interfaceCacheableSAMLObject
-
getExtensions
- Specified by:
getExtensionsin interfaceEntityDescriptor
-
setExtensions
- Specified by:
setExtensionsin interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getRoleDescriptors
@Nonnull @NotLive @Unmodifiable public List<RoleDescriptor> getRoleDescriptors(@Nonnull QName type, @Nonnull @NotEmpty String supportedProtocol) - Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getIDPSSODescriptor
- Specified by:
getIDPSSODescriptorin interfaceEntityDescriptor
-
getSPSSODescriptor
- Specified by:
getSPSSODescriptorin interfaceEntityDescriptor
-
getAuthnAuthorityDescriptor
@Nullable public AuthnAuthorityDescriptor getAuthnAuthorityDescriptor(@Nonnull @NotEmpty String supportedProtocol) - Specified by:
getAuthnAuthorityDescriptorin interfaceEntityDescriptor
-
getAttributeAuthorityDescriptor
@Nullable public AttributeAuthorityDescriptor getAttributeAuthorityDescriptor(@Nonnull @NotEmpty String supportedProtocol) - Specified by:
getAttributeAuthorityDescriptorin interfaceEntityDescriptor
-
getPDPDescriptor
- Specified by:
getPDPDescriptorin interfaceEntityDescriptor
-
getAffiliationDescriptor
- Specified by:
getAffiliationDescriptorin interfaceEntityDescriptor
-
setAffiliationDescriptor
- Specified by:
setAffiliationDescriptorin interfaceEntityDescriptor
-
getOrganization
- Specified by:
getOrganizationin interfaceEntityDescriptor
-
setOrganization
- Specified by:
setOrganizationin interfaceEntityDescriptor
-
getContactPersons
- Specified by:
getContactPersonsin interfaceEntityDescriptor
-
getAdditionalMetadataLocations
- Specified by:
getAdditionalMetadataLocationsin interfaceEntityDescriptor
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getSignatureReferenceID
- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-