org.opensaml.saml2.core.validator
Class AuthnStatementSchemaValidator

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

public class AuthnStatementSchemaValidator
extends Object
implements 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 ValidationException

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

validateAuthnInstant

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

Parameters:
authnStatement -
Throws:
ValidationException

validateAuthnContext

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

Parameters:
authnStatement -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.