Does anyone know if you can limit what's shown in the GetCapabilities document for a GeoServer WFS service?
I have restricted the workspace to read only mode (..r=* and ..w=NO_ONE). I hoped that would lead to that, for example CreateStoredQuery wouldn't show up in the GetCapabilities document, but it doesn't. I also only want to support GET requests, no POST requests.
Answer
I you switch your WFS from Complete to Basic on the WFS settings page then no transactional requests will be supported but the end points will still appear in the capabilities document.
Changing permissions will not affect the output of the GetCapabilities request.
I don't think there is any way in GeoServer to limit requests to just GET (there is no reason to do this that I can think of), but you might be able to do it in tomcat.
No comments:
Post a Comment