org.opensaml.saml1.core.validator
Class AuthenticationStatementSchemaValidator

java.lang.Object
  extended by org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator<AuthenticationStatement>
      extended by org.opensaml.saml1.core.validator.AuthenticationStatementSchemaValidator
All Implemented Interfaces:
Validator<AuthenticationStatement>

public class AuthenticationStatementSchemaValidator
extends SubjectStatementSchemaValidator<AuthenticationStatement>

Checks AuthenticationStatement for Schema compliance.


Constructor Summary
AuthenticationStatementSchemaValidator()
           
 
Method Summary
 void validate(AuthenticationStatement authenticationStatement)
          
protected  void validateAuthenticationInstant(AuthenticationStatement authenticationStatement)
          Validates that the authentication statement has an authentication instant.
protected  void validateAuthenticationMethod(AuthenticationStatement authenticationStatement)
          Validates that the authentication statement has an authentication method.
 
Methods inherited from class org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator
validateSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationStatementSchemaValidator

public AuthenticationStatementSchemaValidator()
Method Detail

validate

public void validate(AuthenticationStatement authenticationStatement)
              throws ValidationException

Specified by:
validate in interface Validator<AuthenticationStatement>
Overrides:
validate in class SubjectStatementSchemaValidator<AuthenticationStatement>
Throws:
ValidationException

validateAuthenticationMethod

protected void validateAuthenticationMethod(AuthenticationStatement authenticationStatement)
                                     throws ValidationException
Validates that the authentication statement has an authentication method.

Parameters:
authenticationStatement - the statement to validate
Throws:
ValidationException - thrown if the statement does not have an authentication method

validateAuthenticationInstant

protected void validateAuthenticationInstant(AuthenticationStatement authenticationStatement)
                                      throws ValidationException
Validates that the authentication statement has an authentication instant.

Parameters:
authenticationStatement - the statement to validate
Throws:
ValidationException - thrown if the statement does not have an authentication instant


Copyright © 1999-2013. All Rights Reserved.