Have setup Openfire 3.8.2
Created a user in Openfire admin.
Setup Adium (fork of Pidgin for the Mac) to connect as that user.
Setup Apache to use mod_proxy, so that :80/http-bind/ goes to 7070:/http-bind/
Tested using cURL as suggested here: http://frishit.com/tag/jsjac/
Installed JSJaC on the same webserver.
Opened the simpleclient example page.
Tested. Err - 401
That is, it connects fine, which we expected since the curl test worked.
But it does not accept the username/password over http-bind that it accepted over (whatever Adium uses).
I’ve switched the password to a simple test password, and verified that all is the same in JSJaC as it is in Adium.
The post being made JSJaC is:
<body rid='606081' sid='488b2b4c' xmlns='[http://jabber.org/protocol/httpbind](http://jabber.org/protocol/httpbind)' key='1c9ea3g5b0937c79c402e9fc6143bfc84e1b90ae'`` type='terminate'> </body>
Why is Openfire rejecting the login when being made from JSJaC, and how do I fix it?