Wednesday, 9 March 2016

Accessing secure Geoserver layer with username password



I've created Users, Groups and Roles in Geoserver. And I set the user roles for my workspace.



  • user1 can read

  • user2 can write


enter image description here


And I want to access my layers as anonymous like this:


http:localhost:8080/geoserver/wms?request=GetCapabilities


This request returns 404 not found page.


I am using username password parameters but not working.



http:localhost:8080/geoserver/wms?request=GetCapabilities&user=some&password=some


If I login Geoserver admin panel and layer preview, I am accessing layer. If I logout, can not.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...