1

I am using GeoServer 2.6.2.

I have a problem with the WMS service.

to authenticate the service wms configure the following rule in " List of access to services"

wms.GetMap ROLE_AUTHENTICATED

but the response this url

http://localhost/geoserver/xxxx/wms?service=WMS&version=1.1.0&request=GetMap&layers=xxxx:clientes&styles=&bbox=.......&width=378&height=512&srs=EPSG:4326&format=application/openlayers

is

Estado HTTP 500 - Request processing failed; nested exception is org.springframework.security.authentication.InsufficientAuthenticationException: Cannot access WMS.GetMap as anonymous

2

Maybe this will help you: https://stackoverflow.com/questions/25261945/cannot-access-wms-getmap-as-anonymous-in-geoserver

It is another problem, but read the last comment on the page and try to configurate the "Allowing anonymous read-only access" (http://docs.geoserver.org/stable/en/user/security/service.html)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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