org.opensaml.saml2.core.validator
Class EvidenceSchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.EvidenceSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<Evidence>
public class EvidenceSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<Evidence>
Checks Evidence
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvidenceSchemaValidator
public EvidenceSchemaValidator()
- Constructor
validate
public void validate(Evidence evidence)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Evidence>
- Throws:
org.opensaml.xml.validation.ValidationException
validateAssertions
protected void validateAssertions(Evidence evidence)
throws org.opensaml.xml.validation.ValidationException
- Checks that at least one Assertion, Assertion ID Reference, or Assertion URI Reference is present.
- Parameters:
evidence
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2010 Internet2. All Rights Reserved.