org.opensaml.saml1.core.validator
Class AssertionSchemaValidator

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

public class AssertionSchemaValidator
extends Object
implements Validator<Assertion>

Checks Assertion for Schema compliance.


Constructor Summary
AssertionSchemaValidator()
           
 
Method Summary
 void validate(Assertion assertion)
          
protected  void validateId(Assertion assertion)
          Test that the ID is present
protected  void validateIssueInstant(Assertion assertion)
          Test that the IssueInstant is present
protected  void validateIssuer(Assertion assertion)
          Test that the issuer is present
protected  void validateStatements(Assertion assertion)
          Test that the provided assertion has some statements in
protected  void validateVersion(Assertion assertion)
          Test that the version is SAML1.1 or 1.0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionSchemaValidator

public AssertionSchemaValidator()
Method Detail

validate

public void validate(Assertion assertion)
              throws ValidationException

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

validateVersion

protected void validateVersion(Assertion assertion)
                        throws ValidationException
Test that the version is SAML1.1 or 1.0

Parameters:
assertion - what to test
Throws:
ValidationException

validateId

protected void validateId(Assertion assertion)
                   throws ValidationException
Test that the ID is present

Parameters:
assertion -
Throws:
ValidationException

validateIssuer

protected void validateIssuer(Assertion assertion)
                       throws ValidationException
Test that the issuer is present

Parameters:
assertion -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(Assertion assertion)
                             throws ValidationException
Test that the IssueInstant is present

Parameters:
assertion -
Throws:
ValidationException

validateStatements

protected void validateStatements(Assertion assertion)
                           throws ValidationException
Test that the provided assertion has some statements in

Parameters:
assertion -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.