org.deegree.security.owsrequestvalidator
Class OWSValidator
java.lang.Object
org.deegree.security.owsrequestvalidator.OWSValidator
- Direct Known Subclasses:
- CSWValidator, WFSValidator, WMSValidator
public abstract class OWSValidator
- extends java.lang.Object
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth , last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
policy
protected Policy policy
getCapabilitiesValidator
protected GetCapabilitiesRequestValidator getCapabilitiesValidator
getCapabilitiesValidatorR
protected GetCapabilitiesResponseValidator getCapabilitiesValidatorR
OWSValidator
public OWSValidator(Policy policy,
java.lang.String proxyURL)
- Parameters:
policy
- proxyURL
-
validateRequest
public abstract void validateRequest(OGCWebServiceRequest request,
User user)
throws InvalidParameterValueException,
UnauthorizedException
- validates if the passed request itself and its content is valid against the conditions
defined in the policies assigned to a OWSPolicyValidator
- Parameters:
request
- user
-
- Throws:
InvalidParameterValueException
UnauthorizedException
validateResponse
public abstract byte[] validateResponse(OGCWebServiceRequest request,
byte[] response,
java.lang.String mime,
User user)
throws InvalidParameterValueException,
UnauthorizedException
- Parameters:
request
- response
- mime
- user
-
- Returns:
- the new response array
- Throws:
InvalidParameterValueException
UnauthorizedException
getGeneralCondtion
public Condition getGeneralCondtion()
- returns the general condition assigned to the encapsulated policy
- Returns:
- the general condition assigned to the encapsulated policy
getPolicy
public Policy getPolicy()
- returns the policy underlying a OWSValidator
- Returns:
- the policy underlying a OWSValidator
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org