On Sat, Nov 22, 2008 at 2:45 AM, Julien Genestoux <[EMAIL PROTECTED]> wrote: > Hey everyone, > Some people complained about the fact that, despite our XMPP API, users > still had to register using our HTTP API (or thourgh our website). We agree > this is a pain, so I wanted to implement user regsitration as well. > However, I wanted to know if it was possible to manage this regsitration > within our component, and not on the Jabber server. > Anyone knows if this is possible? > Thanks a lot! > Julien > > -- > Julien Genestoux > http://www.ouvre-boite.com > http://blog.notifixio.us > > +1 (415) 254 7340 > +33 (0)9 70 44 76 29 > > _______________________________________________ > JDev mailing list > FAQ: http://www.jabber.org/discussion-lists/jdev-faq > Forum: http://www.jabberforum.org/forumdisplay.php?f=20 > Info: http://mail.jabber.org/mailman/listinfo/jdev > Unsubscribe: [EMAIL PROTECTED] > _______________________________________________ > >
Yes, components can support registration, but you would need to manage it on your own (i.e., save the registration data, etc). The relevent XEP is XEP-0077: In-Band Registration. And you should also also include <feature var="jabber:iq:register" /> in the disco#info replies from your component. Note that this isn't the same as normal registration in that this is generally used to provide initial login info, which your component saves along with the JID, and then later you just check the JID of the sender (and don't need to authenticate every time). MSN/Yahoo/etc transports work this way. -- Waqas Hussain _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
