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

org.deegree.security.owsrequestvalidator.csw
Class GetRepositoryItemRequestValidator

java.lang.Object
  extended by org.deegree.security.owsrequestvalidator.RequestValidator
      extended by org.deegree.security.owsrequestvalidator.csw.AbstractCSWRequestValidator
          extended by org.deegree.security.owsrequestvalidator.csw.GetRepositoryItemRequestValidator

public class GetRepositoryItemRequestValidator
extends AbstractCSWRequestValidator

The GetRepositoryItemRequestValidator class can be used to check if a user has enough rights to request a repositoryItem.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$

Field Summary
 
Fields inherited from class org.deegree.security.owsrequestvalidator.RequestValidator
gpv, policy, securityConfig, userCoupled
 
Constructor Summary
GetRepositoryItemRequestValidator(Policy policy)
           
 
Method Summary
 void validateRequest(OGCWebServiceRequest request, User user)
          validates if the passed request 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.AbstractCSWRequestValidator
extractInstanceFilter, validateRecordTypes
 
Methods inherited from class org.deegree.security.owsrequestvalidator.RequestValidator
getPolicy, handleUserCoupledRules, setPolicy, validateExceptions, validateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRepositoryItemRequestValidator

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

validateRequest

public void validateRequest(OGCWebServiceRequest request,
                            User user)
                     throws InvalidParameterValueException,
                            UnauthorizedException
Description copied from class: RequestValidator
validates if the passed request itself and its content is valid against the conditions defined in the policies assigned to a OWSPolicyValidator

Specified by:
validateRequest in class RequestValidator
Parameters:
request -
user -
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