Skip to content

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

Open
Fishbowler wants to merge 1 commit intoigniterealtime:mainfrom
Fishbowler:fix-authcheckfilter
Open

OF-3187: Make AuthCheckFilter's destroy a no-op#3154
Fishbowler wants to merge 1 commit intoigniterealtime:mainfrom
Fishbowler:fix-authcheckfilter

Conversation

@Fishbowler
Copy link
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
Copy link
Member

@guusdk guusdk left a comment

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
Member Author

Jira: ✔️

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.

2 participants