org.opensaml.saml2.core.validator
Class ConditionsSpecValidator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionsSpecValidator
public ConditionsSpecValidator()
- Constructor
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-2012 Internet2. All Rights Reserved.