powered by Jive Software

Do Anonymous logins work with XMPPBOSHConnection?

Do Anonymous logins work with XMPPBOSHConnection? If so does anyone have a couple code snipets?

I got it working on my server with XMPPSocketConnextion on the standard socket port. I also have XMPPBOSHConnection working with authenticated users.

Trunk XIFF should have SASL anonymous implemented. Make sure you’re up to date, it was a fairly recent change.

I managed to get the beta version working which was pretty much what I was working with before but still have an issue with the anonymous login. Here’s the error body messages that comes back (chat server is open fire 3.4.5 running on windows):

<body authid=“3047ad1a” requests=“2” ver=“1.6” xmlns=“http://jabber.org/protocol/httpbind” inactivity=“30” xmlns:stream=“http://etherx.jabber.org/streams” polling=“5” sid=“3047ad1a” secure=“true” wait=“10”><stream:features><mechanisms xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”><mechanism>DIGEST-MD5</mec hanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>P LAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism& gt;CRAM-MD5</mechanism></mechanisms><compression xmlns=“http://jabber.org/features/compress”><method>zlib</method></compression><bind xmlns=“urn:ietf:params:xml:ns:xmpp-bind” /><session xmlns=“urn:ietf:params:xml:ns:xmpp-session” /></stream:features></body>

<body xmlns=“http://jabber.org/protocol/httpbind”><failure xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”><not-authorized /></failure></body>