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 Object
- Version:
- $Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth , last edited by: $Author: apoth $
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,
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,
String mime,
User user)
throws InvalidParameterValueException,
UnauthorizedException
- Parameters:
request
- response
- mime
- user
-
- Returns:
-
- 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://deegree.sourceforge.net