Class XMPPCallbackHandler

  • All Implemented Interfaces:
    CallbackHandler

    public class XMPPCallbackHandler
    extends Object
    implements CallbackHandler
    Callback handler that may be used when doing SASL authentication. A CallbackHandler may be required depending on the SASL mechanism being used. Mechanisms that use a digest don't include a password so the server needs to use the stored password of the user to compare it (somehow) with the specified digest. This operation requires that the UserProvider being used supports passwords retrieval. SASLAuthentication should not offer these kinds of SASL mechanisms if the user provider being in use does not support passwords retrieval.
    Author:
    Hao Chen