Skip to content

OF-3187: Make AuthCheckFilter's destroy a no-op - #3154

Merged
akrherz merged 1 commit into
igniterealtime:mainfrom
Fishbowler:fix-authcheckfilter
Mar 12, 2026
Merged

OF-3187: Make AuthCheckFilter's destroy a no-op#3154
akrherz merged 1 commit into
igniterealtime:mainfrom
Fishbowler:fix-authcheckfilter

Conversation

@Fishbowler

Copy link
Copy Markdown
Member

This is called when the AdminConsolePlugin restarts (by PluginServlet). It wipes all exclusions that have been registered, requiring plugins to re-register them. This change retains the static list of excludes. Plugins remain responsible for unregistering their excludes, which they should have been doing anyway, rather than relying on an eventual restart of the AdminConsole.

Fixes the generic case of igniterealtime/openfire-restAPI-plugin#205 (which has a fix in igniterealtime/openfire-restAPI-plugin#232, but feels like it should be unnecessary)

@Fishbowler
Fishbowler force-pushed the fix-authcheckfilter branch 2 times, most recently from efc8c4a to c577bfa Compare March 5, 2026 14:07

@guusdk guusdk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can you tempt you to create a JIRA issue for this and reword the commit message to reference the new JIRA number? That way, things get tracked for future-us.

This is called when the AdminConsolePlugin restarts (by PluginServlet). It wipes all exclusions that have been registered, requiring plugins to re-register them. This change retains the static list of excludes. Plugins remain responsible for unregistering their excludes, which they should have been doing anyway, rather than relying on an eventual restart of the AdminConsole.
@Fishbowler
Fishbowler force-pushed the fix-authcheckfilter branch from c577bfa to b8cf466 Compare March 6, 2026 20:08
@Fishbowler Fishbowler changed the title Make AuthCheckFilter's destroy a no-op OF-3187: Make AuthCheckFilter's destroy a no-op Mar 6, 2026
@Fishbowler

Copy link
Copy Markdown
Member Author

Jira: ✔️

@akrherz
akrherz merged commit 65bf7d4 into igniterealtime:main Mar 12, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants