[ejabberd] Alternate authentication for BOSH clients?
paul.kinlan at gmail.com
Sat May 30 01:08:19 MSD 2009
Wow, that's actually enough for me to start moving across to strophe.js - I
am pretty sure jQuery.bosh.js doesn't support this.
2009/5/29 Pradeep Elankumaran <pradeep at intridea.com>
> You would pre-authenticate in your web application's code, then pass
> in variables to your html templates.
> Jack Moffit has a nice write-up about this:
> Also, if you're using Rails, you should use ruby_bosh
> Hope this helps.
> - Pradeep
> On Fri, May 29, 2009 at 1:42 PM, Arne Claassen <arne at getorganyzd.com>
> > I'm sorry if this has been covered before, but i'm looking into
> > automatically logging users on our site into the our ejabberd server when
> > they visit a page using a bosh client. I have an authenticated session in
> > the browser and know their user name and jid, but i don't want to have a
> > non-secure web page deliver the password to the bosh component for login.
> > I'd prefer to let it either use a one-time key or pass on the web session
> > key. But at the same time, users should still be able to log in with an
> > Client and their user/pass. Is there a hook in ejabberd for that can
> > call a webservice for authentication, or do i need a custom module? I
> > others using ejabberd for presence on their website must have run into
> > before. Any pointers would be appreciated.
> > arne
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> ejabberd mailing list
> ejabberd at jabber.ru
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd