deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.security.owsrequestvalidator.wms
Class WMSValidator

java.lang.Object
  extended by org.deegree.security.owsrequestvalidator.OWSValidator
      extended by org.deegree.security.owsrequestvalidator.wms.WMSValidator

public class WMSValidator
extends OWSValidator

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth , last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.security.owsrequestvalidator.OWSValidator
getCapabilitiesValidator, getCapabilitiesValidatorR, policy
 
Constructor Summary
WMSValidator(Policy policy, java.lang.String proxyURL)
           
 
Method Summary
 void validateRequest(OGCWebServiceRequest request, User user)
          validates the passed OGCWebServiceRequest if it is valid against the defined conditions for WMS requests
 byte[] validateResponse(OGCWebServiceRequest request, byte[] response, java.lang.String mime, User user)
           
 
Methods inherited from class org.deegree.security.owsrequestvalidator.OWSValidator
getGeneralCondtion, getPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSValidator

public WMSValidator(Policy policy,
                    java.lang.String proxyURL)
Parameters:
policy -
proxyURL -
Method Detail

validateRequest

public void validateRequest(OGCWebServiceRequest request,
                            User user)
                     throws InvalidParameterValueException,
                            UnauthorizedException
validates the passed OGCWebServiceRequest if it is valid against the defined conditions for WMS requests

Specified by:
validateRequest in class OWSValidator
Parameters:
request -
user -
Throws:
InvalidParameterValueException
UnauthorizedException

validateResponse

public byte[] validateResponse(OGCWebServiceRequest request,
                               byte[] response,
                               java.lang.String mime,
                               User user)
                        throws InvalidParameterValueException,
                               UnauthorizedException
Specified by:
validateResponse in class OWSValidator
Parameters:
request -
response -
mime -
user -
Returns:
the byte array containing the response.
Throws:
InvalidParameterValueException
UnauthorizedException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org