-
Notifications
You must be signed in to change notification settings - Fork 4
Migration from 2.3.2 to 2.5.1
Use the branch geoserver-2.5.1 of geOrchestra repository to build GeoServer 2.5.1. The submodule branch for GeoServer is 2.5.1-georchestra.
You need to update the security configuration in your GEOSERVER_DATA_DIR to match the new security management of branch 2.5.1 :
-
Update the security/config.xml file and copy/paste with the content of the following file security/config.xml. Note the the
anonymous
filter needs now to be the last filter. -
Make sure the filters match the filters you have in the security folder (for example check you have a filter for the georchestra proxy like this one [filter/proxy/config.xml] (https://github.com/georchestra/geoserver/blob/93ecf9c31a0f4a11962033c978c08ddd6f964132/data/minimal/security/filter/proxy/config.xml)).
-
Make sure your
AuthentificationProvider
is well configured to use aorg.geoserver.security.auth.UsernamePasswordAuthenticationProvider
in security/auth/default/config.xml. Branch 2.5.1 haven't been testet with GeoFence yet, so you need to remove the GeoFence authentification provider.
All the data dir configuration is provided as a default example in https://github.com/georchestra/geoserver/tree/2.5.1-georchestra/data/minimal