powered by Jive Software

Getting error code 401 instead of 407

Hi,

I have installed openfire and communication it with successfully using smack. Now when i want to test different error codes it is behaving strange.

When i am trying to login to a unregisterded user i am getting XMPPException but error code is 401 instead of 407.

try
{
connection.login(xmppUserName, xmppPassword);
}
catch(XMPPException e)
{
System.out.println("LOGIN_ERROR: "+ e.getXMPPError());
}

Regards,

Samba