Package org.jivesoftware.openfire.net
Class XMPPCallbackHandler
- java.lang.Object
-
- org.jivesoftware.openfire.net.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 retrival.
SASLAuthentication
should not offer these kind of SASL mechanisms if the user provider being in use does not support passwords retrieval.- Author:
- Hao Chen
-
-
Constructor Summary
Constructors Constructor Description XMPPCallbackHandler()
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
-