I started with Smack API recently. It is very good in many ways.
I tried using Authentication class with digest mechanism.
I am able to send an Authentication Packet as follows.
xmppConnection = new XMPPConnection(“server”);
Authentication authentication = new Authentication();
In processPacket event I am receiving an Authentication packet back from the server. The packet is received with an Error “406”. Where as I was hoping to see xmppConnection.isAuthenticated() to be true.
I simply want to send an authentication request using the Digest mechanism and log into the server. Am I doing something wrong above?