[Geoserver-users] What is GeoServer Password Encoder for password generating in other programming languages?

Hi,

I understood I can not change (non-admin) users password via GeoServer RESTful api!, but I can change users password via users.xml . Therefore, I am going to know,

How I can do that?

could you please inform me about GeoServer password encoder and its parameters (such as round time number), I need for generate correct password in programming languages such as python3 or nodejs?

Hi,

I guess this line might be helpful despite it is using the native java libraries https://github.com/olivierdalang/SPCgeonode/blob/master/_service_geoserver/docker-entrypoint.sh#L59. However, you might choice to call it as a container CLI from a GeoServer docker image in a python environment. It should work.

Hope it helps

Regards,
Francesco

Il giorno 24 mar 2022, alle ore 17:03, Navid taheri <navidtaheri@anonymised.com> ha scritto:

Hi,

I understood I can not change (non-admin) users password via GeoServer RESTful api!, but I can change users password via users.xml . Therefore, I am going to know,

How I can do that?

could you please inform me about GeoServer password encoder and its parameters (such as round time number), I need for generate correct password in programming languages such as python3 or nodejs?


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