org.opensaml.saml1.core.validator
Class ResponseAbstractTypeSchemaValidator<ResponseType extends ResponseAbstractType>

java.lang.Object
  extended by org.opensaml.saml1.core.validator.ResponseAbstractTypeSchemaValidator<ResponseType>
All Implemented Interfaces:
Validator<ResponseType>
Direct Known Subclasses:
ResponseSchemaValidator

public class ResponseAbstractTypeSchemaValidator<ResponseType extends ResponseAbstractType>
extends Object
implements Validator<ResponseType>

Checks ResponseAbstractType for Schema compliance.


Constructor Summary
ResponseAbstractTypeSchemaValidator()
           
 
Method Summary
 void validate(ResponseType response)
          
protected  void validateID(ResponseAbstractType response)
          Validate that the ID is present and valid
protected  void validateIssueInstant(ResponseAbstractType response)
          Validate that the IssueInstant is present.
protected  void validateVersion(ResponseAbstractType response)
          Validates that this is SAML1.0 or SAML 1.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseAbstractTypeSchemaValidator

public ResponseAbstractTypeSchemaValidator()
Method Detail

validate

public void validate(ResponseType response)
              throws ValidationException

Specified by:
validate in interface Validator<ResponseType extends ResponseAbstractType>
Throws:
ValidationException

validateVersion

protected void validateVersion(ResponseAbstractType response)
                        throws ValidationException
Validates that this is SAML1.0 or SAML 1.1

Parameters:
response -
Throws:
ValidationException

validateID

protected void validateID(ResponseAbstractType response)
                   throws ValidationException
Validate that the ID is present and valid

Parameters:
response -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(ResponseAbstractType response)
                             throws ValidationException
Validate that the IssueInstant is present.

Parameters:
response -
Throws:
ValidationException


Copyright © 1999-2012. All Rights Reserved.