org.opensaml.saml1.core.validator
Class RequestAbstractTypeSchemaValidator<RequestType extends RequestAbstractType>

java.lang.Object
  extended by org.opensaml.saml1.core.validator.RequestAbstractTypeSchemaValidator<RequestType>
All Implemented Interfaces:
Validator<RequestType>
Direct Known Subclasses:
RequestSchemaValidator

public class RequestAbstractTypeSchemaValidator<RequestType extends RequestAbstractType>
extends Object
implements Validator<RequestType>

Checks RequestAbstractType for Schema compliance.


Constructor Summary
RequestAbstractTypeSchemaValidator()
           
 
Method Summary
 void validate(RequestType requestAbstractType)
          
protected  void validateID(RequestAbstractType request)
          Validate that the ID is present and valid
protected  void validateIssueInstant(RequestAbstractType request)
          Validate that the IssueInstant is present.
protected  void validateVersion(RequestAbstractType request)
          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

RequestAbstractTypeSchemaValidator

public RequestAbstractTypeSchemaValidator()
Method Detail

validate

public void validate(RequestType requestAbstractType)
              throws ValidationException

Specified by:
validate in interface Validator<RequestType extends RequestAbstractType>
Throws:
ValidationException

validateVersion

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

Parameters:
request -
Throws:
ValidationException

validateID

protected void validateID(RequestAbstractType request)
                   throws ValidationException
Validate that the ID is present and valid

Parameters:
request -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(RequestAbstractType request)
                             throws ValidationException
Validate that the IssueInstant is present.

Parameters:
request -
Throws:
ValidationException


Copyright © 1999-2012. All Rights Reserved.