0

I am trying to apply basic authentication in GeoServer but somehow it is not reflecting while consuming the WMS service through OpenLayers.

I am accessing it thorough below urls:

Either way it is not working. Below are the screen shots from GeoServer :

Filter Chain : enter image description here

default chain config (with basic authentication as well)

enter image description here

I created a Child role and created a child user with this role, Also I created service access rule as below

enter image description here

Please suggest if I am missing anything.

  • 1
    When you say it's not working, what is not working? no access? no password required? – nmtoken Aug 29 at 14:51
  • I tried with the 3 url's , One with capability gives message : Problem accessing /geoserver/wms. Other 2 calls form openlayers does not render any layer. – user684805 Aug 29 at 14:53
  • Can you assist me on how to send credentials to GeoServer request, Also once the credentials are provided in popup on browser the WMS url does not ask for the credential second time until I close the browser and run the url again. – user684805 Aug 29 at 17:49

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.