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:


This request returns 404 not found page.

I am using username password parameters but not working.


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

  • As Francisco pointed out, that isn't the right syntax. Can I ask what you looked at to try to get the user and password syntax, especially if something suggested passing them as parameters? I'd like to update the docs to reflect that.
    – BradHards
    Feb 19, 2015 at 9:40

1 Answer 1


There is typo in your url


should be


You can use basic auth to make the requests:

  • hi Francisco - on the same note if password is encrypted or digested authentication is used what will be the format of service call?.- Thanks
    – Deep
    Jan 8, 2016 at 21:44
  • AFAIK you can use the same schema http://user:password@localhost:8080/geoserver/wms?request=GetCapabilities but using the encrypted password instead of the Base64 encoded that is used in basic auth Jan 9, 2016 at 9:02

Your Answer

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

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