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

org.deegree.security.owsrequestvalidator.csw
Class AbstractCSWRequestValidator

java.lang.Object
  extended by org.deegree.security.owsrequestvalidator.RequestValidator
      extended by org.deegree.security.owsrequestvalidator.csw.AbstractCSWRequestValidator
Direct Known Subclasses:
DescribeRecordRequestValidator, GetRecordByIdRequestValidator, GetRecordsRequestValidator, GetRepositoryItemRequestValidator, TransactionValidator

public abstract class AbstractCSWRequestValidator
extends RequestValidator

Abstract super class for validating catalogue requests.

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $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.RequestValidator
gpv, policy, securityConfig, userCoupled
 
Constructor Summary
AbstractCSWRequestValidator(Policy policy)
          initializes the AbstractCSWRequestValidator by passing an instance of the policy to be used by each concrete implementation
 
Method Summary
protected  ComplexFilter extractInstanceFilter(Operation operation, java.util.List<ComplexFilter> foundFilters)
           
 void validateRecordTypes(Condition condition, java.lang.String[] typeNames)
          validates the requested record type / outputTypeRec.
 
Methods inherited from class org.deegree.security.owsrequestvalidator.RequestValidator
getPolicy, handleUserCoupledRules, setPolicy, validateExceptions, validateRequest, validateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCSWRequestValidator

public AbstractCSWRequestValidator(Policy policy)
initializes the AbstractCSWRequestValidator by passing an instance of the policy to be used by each concrete implementation

Parameters:
policy -
Method Detail

validateRecordTypes

public void validateRecordTypes(Condition condition,
                                java.lang.String[] typeNames)
validates the requested record type / outputTypeRec. If the current user is not allowed to request a record type (e.g. ISO 19115) an UnauthorizedException will be thrown.

Parameters:
condition -
typeNames -

extractInstanceFilter

protected ComplexFilter extractInstanceFilter(Operation operation,
                                              java.util.List<ComplexFilter> foundFilters)
                                       throws org.xml.sax.SAXException,
                                              java.io.IOException,
                                              FilterConstructionException
Throws:
org.xml.sax.SAXException
java.io.IOException
FilterConstructionException

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