org.opensaml.saml2.metadata.provider
private class ChainingMetadataProvider.ChainingEntitiesDescriptor extends Object implements EntitiesDescriptor
Modifier and Type | Field and Description |
---|---|
private ArrayList<XMLObject> |
childDescriptors
Metadata from the child metadata providers.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ELEMENT_QNAME, ID_ATTRIB_NAME, NAME_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
Constructor and Description |
---|
ChainingMetadataProvider.ChainingEntitiesDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(Namespace namespace) |
void |
deregisterValidator(Validator validator) |
void |
detach() |
Long |
getCacheDuration()
Gets the maximum time, in milliseconds, that this descriptor should be cached.
|
Element |
getDOM() |
QName |
getElementQName() |
List<EntitiesDescriptor> |
getEntitiesDescriptors()
Gets a list of child
EntitiesDescriptor s. |
List<EntityDescriptor> |
getEntityDescriptors()
Gets a list of child
EntityDescriptor s. |
Extensions |
getExtensions()
Gets the Extensions child of this object.
|
String |
getID()
Gets the ID of this entity group.
|
IDIndex |
getIDIndex() |
String |
getName()
Gets the name of this entity group.
|
NamespaceManager |
getNamespaceManager() |
Set<Namespace> |
getNamespaces() |
String |
getNoNamespaceSchemaLocation() |
List<XMLObject> |
getOrderedChildren() |
XMLObject |
getParent() |
String |
getSchemaLocation() |
QName |
getSchemaType() |
Signature |
getSignature() |
String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
|
List<Validator> |
getValidators() |
org.joda.time.DateTime |
getValidUntil()
Gets the date until which this descriptor is valid.
|
boolean |
hasChildren() |
boolean |
hasParent() |
Boolean |
isNil() |
XSBooleanValue |
isNilXSBoolean() |
boolean |
isSigned() |
boolean |
isValid()
Checks to see if the current time is past the validUntil time.
|
void |
registerValidator(Validator validator) |
void |
releaseChildrenDOM(boolean propagateRelease) |
void |
releaseDOM() |
void |
releaseParentDOM(boolean propagateRelease) |
void |
removeNamespace(Namespace namespace) |
XMLObject |
resolveID(String id) |
XMLObject |
resolveIDFromRoot(String id) |
void |
setCacheDuration(Long duration)
Sets the maximum time, in milliseconds, that this descriptor should be cached.
|
void |
setDOM(Element dom) |
void |
setExtensions(Extensions extensions)
Sets the Extensions child of this object.
|
void |
setID(String newID)
Sets the ID of this entity group.
|
void |
setName(String name)
Sets the name of this entity group.
|
void |
setNil(Boolean arg0) |
void |
setNil(XSBooleanValue arg0) |
void |
setNoNamespaceSchemaLocation(String location) |
void |
setParent(XMLObject parent) |
void |
setSchemaLocation(String location) |
void |
setSignature(Signature newSignature) |
void |
setValidUntil(org.joda.time.DateTime validUntil)
Sets the date until which this descriptor is valid.
|
void |
validate(boolean validateDescendants) |
public ChainingMetadataProvider.ChainingEntitiesDescriptor()
public List<EntitiesDescriptor> getEntitiesDescriptors()
EntitiesDescriptor
s.getEntitiesDescriptors
in interface EntitiesDescriptor
public List<EntityDescriptor> getEntityDescriptors()
EntityDescriptor
s.getEntityDescriptors
in interface EntitiesDescriptor
public Extensions getExtensions()
getExtensions
in interface EntitiesDescriptor
public String getID()
getID
in interface EntitiesDescriptor
public String getName()
getName
in interface EntitiesDescriptor
public void setExtensions(Extensions extensions)
setExtensions
in interface EntitiesDescriptor
extensions
- the Extensions child of this objectpublic void setID(String newID)
setID
in interface EntitiesDescriptor
newID
- the ID of this entity grouppublic void setName(String name)
setName
in interface EntitiesDescriptor
name
- the name of this entity grouppublic String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public Signature getSignature()
getSignature
in interface SignableXMLObject
public boolean isSigned()
isSigned
in interface SignableXMLObject
public void setSignature(Signature newSignature)
setSignature
in interface SignableXMLObject
public void addNamespace(Namespace namespace)
addNamespace
in interface XMLObject
public QName getElementQName()
getElementQName
in interface XMLObject
public IDIndex getIDIndex()
getIDIndex
in interface XMLObject
public NamespaceManager getNamespaceManager()
getNamespaceManager
in interface XMLObject
public Set<Namespace> getNamespaces()
getNamespaces
in interface XMLObject
public String getNoNamespaceSchemaLocation()
getNoNamespaceSchemaLocation
in interface XMLObject
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public String getSchemaLocation()
getSchemaLocation
in interface XMLObject
public QName getSchemaType()
getSchemaType
in interface XMLObject
public boolean hasChildren()
hasChildren
in interface XMLObject
public void releaseChildrenDOM(boolean propagateRelease)
releaseChildrenDOM
in interface XMLObject
public void releaseDOM()
releaseDOM
in interface XMLObject
public void releaseParentDOM(boolean propagateRelease)
releaseParentDOM
in interface XMLObject
public void removeNamespace(Namespace namespace)
removeNamespace
in interface XMLObject
public XMLObject resolveIDFromRoot(String id)
resolveIDFromRoot
in interface XMLObject
public void setNoNamespaceSchemaLocation(String location)
setNoNamespaceSchemaLocation
in interface XMLObject
public void setSchemaLocation(String location)
setSchemaLocation
in interface XMLObject
public void deregisterValidator(Validator validator)
deregisterValidator
in interface ValidatingXMLObject
public List<Validator> getValidators()
getValidators
in interface ValidatingXMLObject
public void registerValidator(Validator validator)
registerValidator
in interface ValidatingXMLObject
public void validate(boolean validateDescendants) throws ValidationException
validate
in interface ValidatingXMLObject
ValidationException
public org.joda.time.DateTime getValidUntil()
getValidUntil
in interface TimeBoundSAMLObject
public boolean isValid()
isValid
in interface TimeBoundSAMLObject
public void setValidUntil(org.joda.time.DateTime validUntil)
setValidUntil
in interface TimeBoundSAMLObject
validUntil
- the date until which this descriptor is validpublic Long getCacheDuration()
getCacheDuration
in interface CacheableSAMLObject
public void setCacheDuration(Long duration)
setCacheDuration
in interface CacheableSAMLObject
duration
- the maximum time that this descriptor should be cachedpublic XSBooleanValue isNilXSBoolean()
isNilXSBoolean
in interface XMLObject
public void setNil(XSBooleanValue arg0)
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.