Custom Login mechanism

May I know how can I modify the authentication for Openfire to allow certain users only? For example, I match the user with a predefined list.

Thanks!

Maybe this is helpful to you?

perhaps, where is the module or place to implement the code? Then, I can customize and update the JAR file in the server

I’ve tested it very shortly and I think, Openfire doesn’t even need modification, because the SASL mechanisms are only checked once during startup. After that a custom plugin can add custom SASL mechanisms.

maybe the Subscription plugin? you could set it to not auto-accept new subscriptions… allowing you to review them before accepting? Or maybe using LDAP with M$ AD, and you could specify a OU to be allowed in your Openfire server?