Hello,

While doing a pull request on the geofence-server rest api, I had a 
question. This rest api is made in the spring rest api, unlike the rest 
of geoserver which uses restful. Jody suggested we might wish to 
(gradually) move towards that system, and I prefer it as well, It is 
very easy to read and write.

Additionally to that, I have also made a rest api for user/groups and 
roles in the same fashion. The spring classes only rely on one 
additional dependency above the normal spring stuff, and that is 
spring-oxm (handles the xml to object conversions).

Now the user and role stuff doesn't really belong in the geofence-server 
module, because people might want to use it if they are using the 
default security subsystem and not geofence. So currently these are the 
options:

(0) Leave the user/role spring rest api only for geofence-server users;
(1) My first proposal was to create a new community module rest-sec with 
all the common security rest api.
However, in the meantime Christian is making a rest api for security 
rules in the standard subsystem, and is doing this the traditional way 
with restful and adding it to the existing restconfig module, so that 
seems kind of off the table;
(2) My other proposal was to create a new module restconfig-ng that will 
hold all future spring rest api stuff, keeping the two systems separate 
as (if) we gradually move from one to the other.
(3) Simply add the user/role rest api classes, including the oxm 
dependency, to the existing restconfig module as well. That would make 
that module a mixture of the two systems.


Regards
Niels

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to