[jdev] Smack and local OpenFire - unable to login

damien dawadam at gmail.com
Sat Sep 17 12:15:10 UTC 2011


Hello

My domain is really "localhost".
I tested using ConnectionConfiguration, it's the same problem.

For cons, I can now log me but only using:
SASLAuthentication.supportSASLMechanism("PLAIN", 0);

Damien


> Date: Fri, 16 Sep 2011 14:43:33 -0400
> From: Daniel Dormont <dan at greywallsoftware.com>
> Subject: Re: [jdev] Smack and local OpenFire - unable to login
> To: "Jabber/XMPP software development list" <jdev at jabber.org>
> Message-ID:
>        <CAGYOVV2PGQ89Vz-iy5=+3aOeU041YtSzh3D_8fSSQfR6+Ywzow at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> What is the XMPP domain you've configured in OpenFire? Is it really
> "localhost"? If not, you need to use a ConnectionConfiguration:
>
> ConnectionConfiguration conf = new ConnectionConfiguration("localhost",
> 5222, myXmppDomain);
> Connection connection = new XMPPConnection(conf);
> connection.login("test", "azer");
>
> dan


More information about the JDev mailing list