Hi Navid

I think I am correct in saying that you can generate any string to use as
the authkey, the authkey module just maps that string to the GeoServer
username, which GeoServer then uses further for checking role based access,
etc.

The authkey module generates UUID v4.  It will do this for any missing
authkeys if you click Security > Authentication > [authkey filter] >
Synchronize user/group service and it will write these to
$GEOSERVER_DATA_DIR/security/user group/default/authkeys.properties

You also have the option to change the mapper from this Property file to a
User property or a Web Service, the latter is what we personally use.

Regards

Peter


On Tue, 29 Mar 2022 at 22:29, Navid taheri <navidtah...@gmail.com> wrote:

> Hi,
>
> I installed AuthKEY module,Although I read authkey documents couple of
> time, I've doubt about some subjects.
>
> I though authkey it will generate automatically appropriate UUID as key,
> But it can not and admin user must generate UUID outside of GeoServer and
> then use that as a value for UUID property in Users/Group (default) or add
> to property of file or save that authkeys.properties in
>
> $GEOSERVER_DATA_DIR/security/user group/default/authkeys.properties
>
> UUID has different version 1 to 5 I'm going to know If I should generate
> that by GeoServer
>
> How I can do that in GeoServer or if I should generate by other software
> which version I should use?
>
> I'm using GeoServer 2.20.2 - Tomcat 9.0.53 - Debian 11 x64 - GeoFence
> module
>
> Sincerely Yours
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> 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:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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

Reply via email to