Hi, we have just installed Geoserver ver 2.26.2 together with Geofence Server (geoserver-2.26.2-geofence-server-plugin.zip).
We had an old version of Geoserver before (2.14.2). So actually I just replaced the jar-files in the webapps/geoserver/WEB-INF/lib.
But now when we are running our Geoserver I noticed that Geofence is not using the derived roles from the usergroups.
It seems like Geoserver do know about the derived roles when I go to the “Edit User”-menu in the Geoserver web-app.
There is at least a list of Derived Roles at the bottom of this page that is correct, but this list also contains a null value (could that be a problem?).
We are running java 17 on linux.
One more thing to mention is that I had to add the jar-files
hibernate-spatial-postgis-1.1.3.2.jar
postgis-jdbc-2.3.0.jar
to the webapps/geoserver/WEB-INF/lib directory. If I didn’t I could’nt edit the geofence-rules.
I have tried to google this problem, but the only thing I found was an issue from 2016.
I probably have forgotten something in the configuration, but I’m not sure what and I have tried to go through all configuration in the data-catalogue.
I’m running out of ideas here…Is there anybody else that have problem with Geofence not using derived roles?
Hi, thanks for your reply. I got the fault solved now. The problem was that I was migrating from an old version of Geoserver and I kept much of the configuration from the old version.
So instead I installed and configured all from scratch and now everything is working fine.
Thanks for your time and support!
Regards
Nils