Bug #2548
openArchitecture for filtering features from WMS requests
0%
Description
Currently, all of the documents in the metacat database are stored in the spatial cache. When the web client requests a map image, all the features in that extent are shown.
We need to intercept the WMS request (possibly by using a servlet filter, possibly by writing our own WMS handler) and prevent features from being included in the map based on various contraints:
1) Access permissions. If a user doesn't have read permissions, they shouldn't see the feature in the map.
2) Queries. The WMS request may be paired with a non-spatial query, the results of which should define a subset of documents that are to be drawn.
3) Skin configuration. Some skins may want to filter the map features based on organization name or other contraints.
For now the critical part is the access constraints. In the mean time, we'll just cache only public docs.