org.deegree.security.owsrequestvalidator.csw
Class AbstractCSWRequestValidator
java.lang.Object
org.deegree.security.owsrequestvalidator.RequestValidator
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 $
Constructor Summary |
AbstractCSWRequestValidator(Policy policy)
initializes the AbstractCSWRequestValidator by passing an instance of the policy to be used by each concrete
implementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCSWRequestValidator
public AbstractCSWRequestValidator(Policy policy)
- initializes the AbstractCSWRequestValidator by passing an instance of the policy to be used by each concrete
implementation
- Parameters:
policy
-
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org