Modifying the Log-In code

Hello,

I have successfully modified the DefaultAuthProvider class inside the org.ijivesoftware.auth package with no problems. When testing, it runs the modified code when logging in through the UI. However when connecting from a XMPP client like Spark, it seems to call a differnet function as it does not function as my modified code would have me believe. What other class/function needs to be modified in order for XMPP clients to connect using my code?

I have been able to determine that XMPP clients use the other authenticate function inside that class? Which if that is the case, is there a way to tell it not to do that? Or, is that something that would have to be modified on client side?

Does anyone have any ideas how to force the auth method of a client?