Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

groldan
Copy link
Member

@groldan groldan commented Jul 15, 2024

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.

…bled

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.
@groldan groldan added the bug Something isn't working label Jul 15, 2024
@groldan groldan merged commit e8a2806 into geoserver:main Jul 15, 2024
2 checks passed
@groldan groldan deleted the bug/gateway_shared_auth_survive_disabling branch July 15, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant