org.opensaml.saml1.core.validator
Class RequestSchemaValidator

java.lang.Object
  extended by org.opensaml.saml1.core.validator.RequestAbstractTypeSchemaValidator<Request>
      extended by org.opensaml.saml1.core.validator.RequestSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<Request>

public class RequestSchemaValidator
extends RequestAbstractTypeSchemaValidator<Request>

Checks Request for Schema compliance.


Constructor Summary
RequestSchemaValidator()
           
 
Method Summary
 void validate(Request request)
          
protected  void validateAssertion(Request request)
          Validates thats the request has an some form of assertion (directly, reference, or artifact) or query, but not both.
 
Methods inherited from class org.opensaml.saml1.core.validator.RequestAbstractTypeSchemaValidator
validateID, validateIssueInstant, validateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestSchemaValidator

public RequestSchemaValidator()
Method Detail

validate

public void validate(Request request)
              throws org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<Request>
Overrides:
validate in class RequestAbstractTypeSchemaValidator<Request>
Throws:
org.opensaml.xml.validation.ValidationException

validateAssertion

protected void validateAssertion(Request request)
                          throws org.opensaml.xml.validation.ValidationException
Validates thats the request has an some form of assertion (directly, reference, or artifact) or query, but not both.

Parameters:
request - the request to validate
Throws:
org.opensaml.xml.validation.ValidationException - thrown if the request has more than one assertion or both an assertion and a query


Copyright © 2006-2009 Internet2. All Rights Reserved.