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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPCallbackHandler
public XMPPCallbackHandler()
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Specified by:
handle
in interface CallbackHandler
- Throws:
IOException
UnsupportedCallbackException
Copyright © 2003-2008 Jive Software.