[Geoserver-users] user/group service configuration through REST API

Hello,
I’m wondering whether there is a possibility to create new user/group services through rest api. Guidelines on the website (https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices) are nicely showing how to configure it through GUI, but I’d like to do the same stuff pragmatically. Is it natively possible? If not, do u recommend some plugin?

Best regards,

Marek

On 13-04-2023 18:26, Marek Kadlečík wrote:

Hello,
I'm wondering whether there is a possibility to create new user/group services through rest api. Guidelines on the website (https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices) are nicely showing how to configure it through GUI, but I'd like to do the same stuff pragmatically. Is it natively possible? If not, do u recommend some plugin?

The REST API provides /usergroup (https://docs.geoserver.org/latest/en/api/#1.0.0/usergroup.yaml) and /roles (https://docs.geoserver.org/latest/en/api/#1.0.0/roles.yaml) endpoints, see https://docs.geoserver.org/stable/en/user/rest/

Oh, well, but I ḿeant it like I want to add “user/group” service itself, for example JDBC one. The endpoints in /usergroup facilitate adding new users to groups, modifying users, associating them with groups and creating groups. However I’m seeking for something like /service endpoint to create a new service.

pi 14. 4. 2023 o 16:35 Mark Prins <mc.prins@anonymised.com…> napísal(a):

On 13-04-2023 18:26, Marek Kadlečík wrote:

Hello,
I’m wondering whether there is a possibility to create new user/group
services through rest api. Guidelines on the website
(https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices <https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices>) are nicely showing how to configure it through GUI, but I’d like to do the same stuff pragmatically. Is it natively possible? If not, do u recommend some plugin?

The REST API provides /usergroup
(https://docs.geoserver.org/latest/en/api/#1.0.0/usergroup.yaml) and
/roles (https://docs.geoserver.org/latest/en/api/#1.0.0/roles.yaml)
endpoints, see https://docs.geoserver.org/stable/en/user/rest/


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

It is currently not possible to do so with the REST api.

Le sam. 15 avr. 2023 à 13:28, Marek Kadlečík <marekkadlecik35@anonymised.com> a écrit :

Oh, well, but I ḿeant it like I want to add “user/group” service itself, for example JDBC one. The endpoints in /usergroup facilitate adding new users to groups, modifying users, associating them with groups and creating groups. However I’m seeking for something like /service endpoint to create a new service.

pi 14. 4. 2023 o 16:35 Mark Prins <mc.prins@anonymised.com> napísal(a):

On 13-04-2023 18:26, Marek Kadlečík wrote:

Hello,
I’m wondering whether there is a possibility to create new user/group
services through rest api. Guidelines on the website
(https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices <https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices>) are nicely showing how to configure it through GUI, but I’d like to do the same stuff pragmatically. Is it natively possible? If not, do u recommend some plugin?

The REST API provides /usergroup
(https://docs.geoserver.org/latest/en/api/#1.0.0/usergroup.yaml) and
/roles (https://docs.geoserver.org/latest/en/api/#1.0.0/roles.yaml)
endpoints, see https://docs.geoserver.org/stable/en/user/rest/


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users