2

I'm going to develop a map server with my own logic and entities. It will have a Postgres database, user management, specific layers with certain types, WFS, WMS, etc.
I'm going to use springframework and GeoServer as the GeoServer is an open source project.
I have user a management problem. How can I integrate my own project security with that of GeoServer? I mean how can I add a user or role or group or assgin a role to a user programmatically? How can I authenticate with geoserver programmatically?
As you know you can manage layers, workspaces, etc by GeoServer-manager. But it does not have user management REST API!

I've developed a map server that maintains layers info and I want it to support WFS and WMS. I want to grant access to my users of layers.
It was the most details of my application.

  • As it stands I think your question is too broad when, as per the Tour, we look for one question per question. However, even focussed into its own question, I suspect that each of the three questions may still be too broad so I recommend trying to focus them further. – PolyGeo Jun 14 '15 at 4:30
  • 2
    I think you're planning to do it wrong. You should just add a plugin to geoserver that handles your specific situation. Otherwise your map server will have to duplicate all of the GeoServer parts. Its hard to say what your plugin should do without much more detail on the specific logic and data types you are trying to support. Perhaps you can edit your question? – BradHards Jun 14 '15 at 4:58
  • Thank you @BradHards. How can I add a plugin to geoserver? Do you have any documents and helpful links? – Dariush Jun 14 '15 at 6:26
  • When you fix your question (to add the missing detail), I may (or may not) be able to help. – BradHards Jun 14 '15 at 10:30
  • @BradHards now you can answer the best – Dariush Jun 15 '15 at 5:01
0

Finally I used geo-fence, a geoserver plugin for security management. It has a Restful API for adding,managing,ect of users,roles,rules,....

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.