Hello!
I’'m developing a system that uses Smack and that should be able to keep several of XMPPConnections (one for each user in our system) to a Jabber server, is this possible?
I have done some testing and it seems that the problem lies in the Smack API. When I connect two users (two connections) to one server I get:
at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication .java:62)
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 220)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:352)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:318)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:299)
at jabberclient.JabberClient.login(JabberClient.java:101)
I ahve also tried to setup two connections (one for each user) to two different jabber servers and the result is the same. My conclusions of these tests is that it has to depend on the Smack API.
Is there any workaround for this problem or what should I do to get this particular functionality?