I would like to enable a Login form for Geoserver. This would means that, when a client makes a request using Leaflet or OL3, with an index file etc. The client would be prompted to log in before the layer would load. Any Advice, I have consulted the security of Geoserver but its like i don't understand a thing. Geoserver 2.10

  • is this for REST access or WMS/WFS etc? – Ian Turton Feb 8 '17 at 11:54
  • WMS/WFS for now – saviour123 Feb 8 '17 at 12:05

You need to enable authentication on your GeoServer, how you do this depends on how you manage your users and passwords. Once you've done this then the browser will handle logins for you automatically.

  • How do i handle this, the could not find a way in the authentication module. Maybe you could help with steps. How do i manage my users and passwords. Thanks. I have spend a week trying to solve this, really need help. – saviour123 Feb 8 '17 at 13:21
  • 1
    do you already have a user management system such as ldap or active directory? if not then use basichttp://docs.geoserver.org/latest/en/user/security/auth/providers.html#username-password-authentication – Ian Turton Feb 8 '17 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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