I have a Java client which connects to Openfire on my server. When I run Openfire 4.0.1 with the build provided by Igniterealtime, I can connect and log in from the client with no issue. However, I need some changes, so I edited the sources from Github (4.1.0 beta), which I compile correctly. When I run the exact same client with exact same login credentials, I can establish the connection to the server, but the authentication fails (not-authorized).
For the client, I use Smack library, with following Gradle settings:
make sure your client is actually trying to using a sasl authentication method and not a non-sasl, like iq auth. Non sasl is now disabled by default with the 4.1 branch. If you need to restore non-sasl authentication, I think there is a plugin for it
sorry…somehow I missed that that you’re using smack 4.1.x with your client. ( i really need to get some sleep and/or pay more attention!) I believe removed non-sasl authentication types, so that’s unlikely your issue.