I want Geoserver rest security setup so that only a specific role can access everything under a specific workspace. This is what my /datadir/security/rest.properties file looks like:


But I get a 403 error with this:

curl "http://mygeoserver/geoserver/rest/workspaces/myworkspace/layers" -u "userinmyrole:password" -v

How can I secure a workspace in REST?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.