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: 9346 $, 1.0. $Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
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,
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
-
- Throws:
InvalidParameterValueException
UnauthorizedException
extractInstanceFilter
protected ComplexFilter extractInstanceFilter(Operation operation,
List<ComplexFilter> foundFilters)
throws SAXException,
IOException,
FilterConstructionException
- Parameters:
operation
-
- Returns:
-
- Throws:
IOException
SAXException
FilterConstructionException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net