I am trying to edit source files of GeoServer to meet my project requirements. I want to make newly added OWS services (like "org.geoserver.hello" example) and some of the sub-pages (like "helloweb" example) accessible only for logged-in users.

Is there an example, source file or documentation page (apart from http://docs.geoserver.org/2.7.x/en/user/security/index.html and http://docs.geoserver.org/latest/en/developer/programming-guide/security/index.html) I could rely on?

1 Answer 1


Found a solution. To make particular ows service protected its option in the tab security/services (main webpage, accessible for admin) must be set for "ROLE_AUTHENTICATED". As for a subpage, we must edit applicationContext.xml in order to add

<property name="authorizer" ref="workspaceAdminAuthorizer"/>

where property id is pointing to our subpage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.