org.opensaml.saml2.core.validator
Class AssertionSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.AssertionSchemaValidator
All Implemented Interfaces:
Validator<Assertion>

public class AssertionSchemaValidator
extends Object
implements Validator<Assertion>

Checks Assertion for Schema compliance.


Constructor Summary
AssertionSchemaValidator()
          Constructor
 
Method Summary
 void validate(Assertion assertion)
          
protected  void validateID(Assertion assertion)
          Checks that the ID attribute is present.
protected  void validateIssueInstant(Assertion assertion)
          Checks that the IssueInstant attribute is present.
protected  void validateIssuer(Assertion assertion)
          Checks that Issuer element is present.
protected  void validateVersion(Assertion assertion)
          Checks that the Version attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionSchemaValidator

public AssertionSchemaValidator()
Constructor

Method Detail

validate

public void validate(Assertion assertion)
              throws ValidationException

Specified by:
validate in interface Validator<Assertion>
Throws:
ValidationException

validateIssuer

protected void validateIssuer(Assertion assertion)
                       throws ValidationException
Checks that Issuer element is present.

Parameters:
assertion -
Throws:
ValidationException

validateVersion

protected void validateVersion(Assertion assertion)
                        throws ValidationException
Checks that the Version attribute is present.

Parameters:
assertion -
Throws:
ValidationException

validateID

protected void validateID(Assertion assertion)
                   throws ValidationException
Checks that the ID attribute is present.

Parameters:
assertion -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(Assertion assertion)
                             throws ValidationException
Checks that the IssueInstant attribute is present.

Parameters:
assertion -
Throws:
ValidationException


Copyright © 1999-2012. All Rights Reserved.