org.opensaml.saml2.metadata.validator
Class EntityDescriptorSpecValidator
java.lang.Object
org.opensaml.saml2.metadata.validator.EntityDescriptorSpecValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<EntityDescriptor>
public class EntityDescriptorSpecValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<EntityDescriptor>
Checks EntityDescriptor
for Spec compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityDescriptorSpecValidator
public EntityDescriptorSpecValidator()
- Constructor
validate
public void validate(EntityDescriptor entityDescriptor)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<EntityDescriptor>
- Throws:
org.opensaml.xml.validation.ValidationException
validateRoot
protected void validateRoot(EntityDescriptor entityDescriptor)
throws org.opensaml.xml.validation.ValidationException
- Checks that at least either Valid Until or Cache Duration is present when Entity Descriptor is root element.
- Parameters:
entityDescriptor
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2013 Internet2. All Rights Reserved.