Introducing the rest/security/acl/catalog/reload rest endpoint
Description
By default, the rest/catalog/reload GeoServer REST endpoint only refreshes the GeoServer catalog and does not reload the Security Manager. To address this limitation, we propose adding a dedicated endpoint that allows an administrator to programmatically trigger a Security Manager reload.
This feature is particularly useful when batch operations directly modify security files on disk (e.g., adding or removing roles), and the updated information must be reflected in memory without requiring a full GeoServer restart. By exposing this new endpoint, administrators can ensure the Security Manager picks up changes to the security configuration immediately.
Environment
None
Activity
Andrea Aime December 18, 2024 at 10:30 AM
Backported to 2.24.x too, but there is no longer a planned release for that series.
By default, the
rest/catalog/reload
GeoServer REST endpoint only refreshes the GeoServer catalog and does not reload the Security Manager. To address this limitation, we propose adding a dedicated endpoint that allows an administrator to programmatically trigger a Security Manager reload.This feature is particularly useful when batch operations directly modify security files on disk (e.g., adding or removing roles), and the updated information must be reflected in memory without requiring a full GeoServer restart. By exposing this new endpoint, administrators can ensure the Security Manager picks up changes to the security configuration immediately.