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:
- http://admin:geoserver@localhost:8080/geoserver/localhost/wms?.. // psw as plain text (GetMap)
- http://admin:Z2Vvc2VydmVy@localhost:8080/geoserver/localhost/wms?.. // psw as base64 encrypted. (GetMap)
- http://admin:Z2Vvc2VydmVy@localhost:8080/geoserver/wms?request=GetCapabilities //Check for capabilities
Either way it is not working. Below are the screen shots from GeoServer :
default chain config (with basic authentication as well)
I created a Child role and created a child user with this role, Also I created service access rule as below
Please suggest if I am missing anything.