org.opensaml.saml1.core.validator
Class RequestSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.RequestAbstractTypeSchemaValidator<Request>
org.opensaml.saml1.core.validator.RequestSchemaValidator
- All Implemented Interfaces:
- Validator<Request>
public class RequestSchemaValidator
- extends RequestAbstractTypeSchemaValidator<Request>
Checks Request
for Schema compliance.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestSchemaValidator
public RequestSchemaValidator()
validate
public void validate(Request request)
throws ValidationException
-
- Specified by:
validate
in interface Validator<Request>
- Overrides:
validate
in class RequestAbstractTypeSchemaValidator<Request>
- Throws:
ValidationException
validateAssertion
protected void validateAssertion(Request request)
throws 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:
ValidationException
- thrown if the request has more than one assertion or both an assertion and a query
Copyright © 1999-2013. All Rights Reserved.