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:
org.opensaml.core.xml.AttributeExtensibleXMLObject,org.opensaml.core.xml.XMLObject,org.opensaml.saml.common.SAMLObject,org.opensaml.saml.common.SignableSAMLObject,org.opensaml.saml.saml2.common.CacheableSAMLObject,org.opensaml.saml.saml2.common.TimeBoundSAMLObject,org.opensaml.saml.saml2.metadata.EntityDescriptor,org.opensaml.xmlsec.signature.SignableXMLObject
public class EntityDescriptorImpl extends org.opensaml.saml.common.AbstractSignableSAMLObject implements org.opensaml.saml.saml2.metadata.EntityDescriptorConcretate implementation ofEntitiesDescriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.AdditionalMetadataLocation>additionalMetadataAdditional metadata locations for this entity.private org.opensaml.saml.saml2.metadata.AffiliationDescriptoraffiliationDescriptorAffiliatition descriptor for this entity.private DurationcacheDurationcacheDurection attribute.private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ContactPerson>contactPersonsContact persons for this entity.private StringentityIDEntity ID of this Entity.private org.opensaml.saml.saml2.metadata.ExtensionsextensionsExtensions child.private StringidID attribute.private org.opensaml.saml.saml2.metadata.OrganizationorganizationOrganization the administers this entity.private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml2.metadata.RoleDescriptor>roleDescriptorsRole descriptors for this entity.private org.opensaml.core.xml.util.AttributeMapunknownAttributes"anyAttribute" attributes.private InstantvalidUntilvalidUntil attribute.-
Fields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opensaml.saml.saml2.metadata.AdditionalMetadataLocation>getAdditionalMetadataLocations()org.opensaml.saml.saml2.metadata.AffiliationDescriptorgetAffiliationDescriptor()org.opensaml.saml.saml2.metadata.AttributeAuthorityDescriptorgetAttributeAuthorityDescriptor(String supportedProtocol)org.opensaml.saml.saml2.metadata.AuthnAuthorityDescriptorgetAuthnAuthorityDescriptor(String supportedProtocol)DurationgetCacheDuration()List<org.opensaml.saml.saml2.metadata.ContactPerson>getContactPersons()StringgetEntityID()org.opensaml.saml.saml2.metadata.ExtensionsgetExtensions()StringgetID()org.opensaml.saml.saml2.metadata.IDPSSODescriptorgetIDPSSODescriptor(String supportedProtocol)List<org.opensaml.core.xml.XMLObject>getOrderedChildren()org.opensaml.saml.saml2.metadata.OrganizationgetOrganization()org.opensaml.saml.saml2.metadata.PDPDescriptorgetPDPDescriptor(String supportedProtocol)List<org.opensaml.saml.saml2.metadata.RoleDescriptor>getRoleDescriptors()List<org.opensaml.saml.saml2.metadata.RoleDescriptor>getRoleDescriptors(QName typeOrName)List<org.opensaml.saml.saml2.metadata.RoleDescriptor>getRoleDescriptors(QName type, String supportedProtocol)StringgetSignatureReferenceID()org.opensaml.saml.saml2.metadata.SPSSODescriptorgetSPSSODescriptor(String supportedProtocol)org.opensaml.core.xml.util.AttributeMapgetUnknownAttributes()InstantgetValidUntil()booleanisValid()voidsetAffiliationDescriptor(org.opensaml.saml.saml2.metadata.AffiliationDescriptor descriptor)voidsetCacheDuration(Duration duration)voidsetEntityID(String newId)voidsetExtensions(org.opensaml.saml.saml2.metadata.Extensions newExtensions)voidsetID(String newID)voidsetOrganization(org.opensaml.saml.saml2.metadata.Organization newOrganization)voidsetValidUntil(Instant newValidUntil)-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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 Detail
-
entityID
private String entityID
Entity ID of this Entity.
-
id
private String id
ID attribute.
-
validUntil
private Instant validUntil
validUntil attribute.
-
cacheDuration
private Duration cacheDuration
cacheDurection attribute.
-
extensions
private org.opensaml.saml.saml2.metadata.Extensions extensions
Extensions child.
-
roleDescriptors
private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml2.metadata.RoleDescriptor> roleDescriptors
Role descriptors for this entity.
-
affiliationDescriptor
private org.opensaml.saml.saml2.metadata.AffiliationDescriptor affiliationDescriptor
Affiliatition descriptor for this entity.
-
organization
private org.opensaml.saml.saml2.metadata.Organization organization
Organization the administers this entity.
-
contactPersons
private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ContactPerson> contactPersons
Contact persons for this entity.
-
additionalMetadata
private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.AdditionalMetadataLocation> additionalMetadata
Additional metadata locations for this entity.
-
unknownAttributes
private final org.opensaml.core.xml.util.AttributeMap unknownAttributes
"anyAttribute" attributes.
-
-
Constructor Detail
-
EntityDescriptorImpl
protected EntityDescriptorImpl(String namespaceURI, String elementLocalName, 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 Detail
-
getEntityID
public String getEntityID()
- Specified by:
getEntityIDin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
setEntityID
public void setEntityID(String newId)
- Specified by:
setEntityIDin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getID
public String getID()
- Specified by:
getIDin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
setID
public void setID(String newID)
- Specified by:
setIDin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceorg.opensaml.saml.saml2.common.TimeBoundSAMLObject
-
getValidUntil
public Instant getValidUntil()
- Specified by:
getValidUntilin interfaceorg.opensaml.saml.saml2.common.TimeBoundSAMLObject
-
setValidUntil
public void setValidUntil(Instant newValidUntil)
- Specified by:
setValidUntilin interfaceorg.opensaml.saml.saml2.common.TimeBoundSAMLObject
-
getCacheDuration
public Duration getCacheDuration()
- Specified by:
getCacheDurationin interfaceorg.opensaml.saml.saml2.common.CacheableSAMLObject
-
setCacheDuration
public void setCacheDuration(Duration duration)
- Specified by:
setCacheDurationin interfaceorg.opensaml.saml.saml2.common.CacheableSAMLObject
-
getExtensions
public org.opensaml.saml.saml2.metadata.Extensions getExtensions()
- Specified by:
getExtensionsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
setExtensions
public void setExtensions(org.opensaml.saml.saml2.metadata.Extensions newExtensions)
- Specified by:
setExtensionsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getRoleDescriptors
public List<org.opensaml.saml.saml2.metadata.RoleDescriptor> getRoleDescriptors()
- Specified by:
getRoleDescriptorsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getRoleDescriptors
public List<org.opensaml.saml.saml2.metadata.RoleDescriptor> getRoleDescriptors(QName typeOrName)
- Specified by:
getRoleDescriptorsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getRoleDescriptors
public List<org.opensaml.saml.saml2.metadata.RoleDescriptor> getRoleDescriptors(QName type, String supportedProtocol)
- Specified by:
getRoleDescriptorsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getIDPSSODescriptor
public org.opensaml.saml.saml2.metadata.IDPSSODescriptor getIDPSSODescriptor(String supportedProtocol)
- Specified by:
getIDPSSODescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getSPSSODescriptor
public org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor(String supportedProtocol)
- Specified by:
getSPSSODescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getAuthnAuthorityDescriptor
public org.opensaml.saml.saml2.metadata.AuthnAuthorityDescriptor getAuthnAuthorityDescriptor(String supportedProtocol)
- Specified by:
getAuthnAuthorityDescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getAttributeAuthorityDescriptor
public org.opensaml.saml.saml2.metadata.AttributeAuthorityDescriptor getAttributeAuthorityDescriptor(String supportedProtocol)
- Specified by:
getAttributeAuthorityDescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getPDPDescriptor
public org.opensaml.saml.saml2.metadata.PDPDescriptor getPDPDescriptor(String supportedProtocol)
- Specified by:
getPDPDescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getAffiliationDescriptor
public org.opensaml.saml.saml2.metadata.AffiliationDescriptor getAffiliationDescriptor()
- Specified by:
getAffiliationDescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
setAffiliationDescriptor
public void setAffiliationDescriptor(org.opensaml.saml.saml2.metadata.AffiliationDescriptor descriptor)
- Specified by:
setAffiliationDescriptorin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getOrganization
public org.opensaml.saml.saml2.metadata.Organization getOrganization()
- Specified by:
getOrganizationin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
setOrganization
public void setOrganization(org.opensaml.saml.saml2.metadata.Organization newOrganization)
- Specified by:
setOrganizationin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getContactPersons
public List<org.opensaml.saml.saml2.metadata.ContactPerson> getContactPersons()
- Specified by:
getContactPersonsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getAdditionalMetadataLocations
public List<org.opensaml.saml.saml2.metadata.AdditionalMetadataLocation> getAdditionalMetadataLocations()
- Specified by:
getAdditionalMetadataLocationsin interfaceorg.opensaml.saml.saml2.metadata.EntityDescriptor
-
getUnknownAttributes
public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributesin interfaceorg.opensaml.core.xml.AttributeExtensibleXMLObject
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceIDin interfaceorg.opensaml.saml.common.SignableSAMLObject
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-