org.opensaml.saml2.core.validator
Class ConditionsSpecValidator

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

public class ConditionsSpecValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<Conditions>

Checks the Conditions for Spec compliance.


Constructor Summary
ConditionsSpecValidator()
          Constructor
 
Method Summary
 void validate(Conditions conditions)
          
protected  void validateOneTimeUseCondition(Conditions conditions)
          Checks that there is at most one OneTimeUse condition.
protected  void validateProxyRestrictionCondition(Conditions conditions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionsSpecValidator

public ConditionsSpecValidator()
Constructor

Method Detail

validate

public void validate(Conditions conditions)
              throws org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<Conditions>
Throws:
org.opensaml.xml.validation.ValidationException

validateOneTimeUseCondition

protected void validateOneTimeUseCondition(Conditions conditions)
                                    throws org.opensaml.xml.validation.ValidationException
Checks that there is at most one OneTimeUse condition.

Parameters:
conditions -
Throws:
org.opensaml.xml.validation.ValidationException

validateProxyRestrictionCondition

protected void validateProxyRestrictionCondition(Conditions conditions)
                                          throws org.opensaml.xml.validation.ValidationException
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2009 Internet2. All Rights Reserved.