| java.lang.Object org.deegree.security.owsrequestvalidator.RequestValidator org.deegree.security.owsrequestvalidator.wms.AbstractWMSRequestValidator
All known Subclasses: org.deegree.security.owsrequestvalidator.wms.GetLegendGraphicRequestValidator, org.deegree.security.owsrequestvalidator.wms.GetMapRequestValidator,
AbstractWMSRequestValidator | abstract class AbstractWMSRequestValidator extends RequestValidator (Code) | | author: Andreas Poth author: last edited by: $Author: rbezema $ version: $Revision: 10559 $, $Date: 2008-03-12 01:35:07 -0700 (Wed, 12 Mar 2008) $ |
Method Summary | |
protected void | validateFormat(Condition condition, String format) checks if the passed format is valid against the formats defined in the policy. | protected void | validateMaxHeight(Condition condition, int height) checks if the passed height is > 0 and if it's valid against the maxHeight defined in the
policy. | protected void | validateMaxWidth(Condition condition, int width) checks if the passed width is > 0 and if it's valid against the maxWidth defined in the
policy. |
AbstractWMSRequestValidator | public AbstractWMSRequestValidator(Policy policy)(Code) | | Parameters: policy - |
validateFormat | protected void validateFormat(Condition condition, String format) throws InvalidParameterValueException(Code) | | checks if the passed format is valid against the formats defined in the policy. If
user != null the valid
formats will be read from the user/rights repository
Parameters: condition - condition containing the definition of the valid format Parameters: format - throws: InvalidParameterValueException - |
validateMaxHeight | protected void validateMaxHeight(Condition condition, int height) throws InvalidParameterValueException(Code) | | checks if the passed height is > 0 and if it's valid against the maxHeight defined in the
policy. If user != null the valid
height will be read from the user/rights repository
Parameters: condition - condition containing the definition of the valid height Parameters: height - throws: InvalidParameterValueException - |
validateMaxWidth | protected void validateMaxWidth(Condition condition, int width) throws InvalidParameterValueException(Code) | | checks if the passed width is > 0 and if it's valid against the maxWidth defined in the
policy. If user != null the valid
width will be read from the user/rights repository
Parameters: condition - condition containing the definition of the valid width Parameters: width - throws: InvalidParameterValueException - |
|
|