org.opensaml.saml2.core.validator
Class AssertionSpecValidator
java.lang.Object
org.opensaml.saml2.core.validator.AssertionSpecValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<Assertion>
public class AssertionSpecValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<Assertion>
Checks Assertion
for Spec compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertionSpecValidator
public AssertionSpecValidator()
- Constructor
validate
public void validate(Assertion assertion)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Assertion>
- Throws:
org.opensaml.xml.validation.ValidationException
validateSubject
protected void validateSubject(Assertion assertion)
throws org.opensaml.xml.validation.ValidationException
- Checks that the Subject element is present when required.
- Parameters:
assertion
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2010 Internet2. All Rights Reserved.