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

org.deegree.security.owsrequestvalidator.csw
Class GetRecordByIdResponseValidator

java.lang.Object
  extended by org.deegree.security.owsrequestvalidator.ResponseValidator
      extended by org.deegree.security.owsrequestvalidator.csw.AbstractCSWResponseValidator
          extended by org.deegree.security.owsrequestvalidator.csw.GetRecordByIdResponseValidator

public class GetRecordByIdResponseValidator
extends AbstractCSWResponseValidator

Version:
$Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
Author:
Andreas Poth, last edited by: $Author: poth $

Field Summary
 
Fields inherited from class org.deegree.security.owsrequestvalidator.ResponseValidator
gpv, policy, UNKNOWNMIMETYPE
 
Constructor Summary
GetRecordByIdResponseValidator(Policy policy)
           
 
Method Summary
 byte[] validateResponse(java.lang.String service, byte[] response, java.lang.String mime, User user)
          validates if the passed response itself and its content is valid against the conditions defined in the policies assigned to a OWSPolicyValidator
 
Methods inherited from class org.deegree.security.owsrequestvalidator.csw.AbstractCSWResponseValidator
extractInstanceFilter
 
Methods inherited from class org.deegree.security.owsrequestvalidator.ResponseValidator
getPolicy, setPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecordByIdResponseValidator

public GetRecordByIdResponseValidator(Policy policy)
Parameters:
policy -
Method Detail

validateResponse

public byte[] validateResponse(java.lang.String service,
                               byte[] response,
                               java.lang.String mime,
                               User user)
                        throws InvalidParameterValueException,
                               UnauthorizedException
Description copied from class: ResponseValidator
validates if the passed response itself and its content is valid against the conditions defined in the policies assigned to a OWSPolicyValidator

Specified by:
validateResponse in class ResponseValidator
Parameters:
service - service which produced the response (WMS, WFS ...)
mime - mime-type of 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