Subject: Cannot connect to Openfire server with Sso
Hi,
As the title of my post says, I cannot to my openfire server with MatriX.NET SDK.
This is how I have configured my instance of XmppClient
The event OnBeforeSasl() is well raised but nothing happen after.
I can see an error on my Openfire server :
What does it mean ? Do I forget something on the configuration of my instance of XmppClient ?
Regards
Jerome
As the title of my post says, I cannot to my openfire server with MatriX.NET SDK.
This is how I have configured my instance of XmppClient
- m_xmppClient.SetXmppDomain("vm-callisto-gis");
- m_xmppClient.Username = "jhr";
- //m_xmppClient.Password = "xx";
- m_xmppClient.UseSso = true;
- m_xmppClient.AnonymousLogin = false;
- m_xmppClient.StartTls = false;
- m_xmppClient.AutoRoster = true;
- m_xmppClient.Compression = true;
- m_xmppClient.AutoReplyToPing = true;
- m_xmppClient.Open();
The event OnBeforeSasl() is well raised but nothing happen after.
I can see an error on my Openfire server :
2011.10.13 11:02:21 Closing connection due to error while processing message: <auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">AAA=</auth>
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPlainImpl.java:114)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:269)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:179)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:169)
[....]
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPlainImpl.java:114)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:269)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:179)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:169)
[....]
What does it mean ? Do I forget something on the configuration of my instance of XmppClient ?
Regards
Jerome