org.opensaml.saml2.core.validator
Class EvidenceSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.EvidenceSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<Evidence>

public class EvidenceSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<Evidence>

Checks Evidence for Schema compliance.


Constructor Summary
EvidenceSchemaValidator()
          Constructor
 
Method Summary
 void validate(Evidence evidence)
          
protected  void validateAssertions(Evidence evidence)
          Checks that at least one Assertion, Assertion ID Reference, or Assertion URI Reference is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvidenceSchemaValidator

public EvidenceSchemaValidator()
Constructor

Method Detail

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-2012 Internet2. All Rights Reserved.