geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.
http://geoserver.org/geoserver-cloud
Other
244 stars 73 forks source link

Avoid exceptions when gateway-shared-auth is disabled after being enabled #496

Closed groldan closed 1 month ago

groldan commented 1 month ago

If the gateway-shared-auth geoserver authentication filter was enabled, and it was automatically added to the filter chains, when disabled and the applications restart, would produce an error message and the webui Authentication configuration page would be broken.

This patch adds a no-op filter when gateway-shared-auth is disabled by externalized configuration.