org.opensaml.saml2.core.validator
Class AuthnStatementSchemaValidator

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

public class AuthnStatementSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<AuthnStatement>

Checks AuthnStatement for Schema compliance.


Constructor Summary
AuthnStatementSchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthnStatement authnStatement)
          
protected  void validateAuthnContext(AuthnStatement authnStatement)
          Checks that the AuthnContext element is present.
protected  void validateAuthnInstant(AuthnStatement authnStatement)
          Checks that the AuthnInstant attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnStatementSchemaValidator

public AuthnStatementSchemaValidator()
Constructor

Method Detail

validate

public void validate(AuthnStatement authnStatement)
              throws org.opensaml.xml.validation.ValidationException

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

validateAuthnInstant

protected void validateAuthnInstant(AuthnStatement authnStatement)
                             throws org.opensaml.xml.validation.ValidationException
Checks that the AuthnInstant attribute is present.

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

validateAuthnContext

protected void validateAuthnContext(AuthnStatement authnStatement)
                             throws org.opensaml.xml.validation.ValidationException
Checks that the AuthnContext element is present.

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


Copyright © 2006-2011 Internet2. All Rights Reserved.