Thanks Waqas for the help... I think I'll go for anonymous login...<div><br></div><div>Thanks a lot!<br><div><br></div><div><br clear="all">--<br>Julien Genestoux<br><a href="http://www.ouvre-boite.com">http://www.ouvre-boite.com</a><br>
<a href="http://blog.notifixio.us">http://blog.notifixio.us</a><br><br>+1 (415) 254 7340<br>+33 (0)9 70 44 76 29<br>
<br><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 1:09 AM, Waqas Hussain <span dir="ltr"><<a href="mailto:waqas20@gmail.com">waqas20@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mon, Nov 24, 2008 at 11:03 PM, Julien Genestoux<br>
<div><div></div><div class="Wj3C7c"><<a href="mailto:julien.genestoux@gmail.com">julien.genestoux@gmail.com</a>> wrote:<br>
> Thanks Hussain for your precious help.<br>
> I was able to set the Disco as well as implement XEP 077 (partially)...<br>
> However, I still have a problem, to be able to send the IQs, my client must<br>
> already be registered against the server...<br>
> The goal here is to be able to create users with the component (only...), so<br>
> how can clients connect to my component without being authenticated to my<br>
> server first?<br>
> Thanks again!<br>
><br>
><br>
> --<br>
> Julien Genestoux<br>
> <a href="http://www.ouvre-boite.com" target="_blank">http://www.ouvre-boite.com</a><br>
> <a href="http://blog.notifixio.us" target="_blank">http://blog.notifixio.us</a><br>
><br>
> +1 (415) 254 7340<br>
> +33 (0)9 70 44 76 29<br>
><br>
><br>
> On Sat, Nov 22, 2008 at 6:53 AM, Waqas Hussain <<a href="mailto:waqas20@gmail.com">waqas20@gmail.com</a>> wrote:<br>
>><br>
>> On Sat, Nov 22, 2008 at 2:45 AM, Julien Genestoux<br>
>> <<a href="mailto:julien.genestoux@gmail.com">julien.genestoux@gmail.com</a>> wrote:<br>
>> > Hey everyone,<br>
>> > Some people complained about the fact that, despite our XMPP API, users<br>
>> > still had to register using our HTTP API (or thourgh our website). We<br>
>> > agree<br>
>> > this is a pain, so I wanted to implement user regsitration as well.<br>
>> > However, I wanted to know if it was possible to manage this regsitration<br>
>> > within our component, and not on the Jabber server.<br>
>> > Anyone knows if this is possible?<br>
>> > Thanks a lot!<br>
>> > Julien<br>
>> ><br>
>> > --<br>
>> > Julien Genestoux<br>
>> > <a href="http://www.ouvre-boite.com" target="_blank">http://www.ouvre-boite.com</a><br>
>> > <a href="http://blog.notifixio.us" target="_blank">http://blog.notifixio.us</a><br>
>> ><br>
>> > +1 (415) 254 7340<br>
>> > +33 (0)9 70 44 76 29<br>
>> ><br>
>> > _______________________________________________<br>
>> > JDev mailing list<br>
>> > FAQ: <a href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
>> > Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
>> > Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
>> > Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
>> > _______________________________________________<br>
>> ><br>
>> ><br>
>><br>
>> Yes, components can support registration, but you would need to manage<br>
>> it on your own (i.e., save the registration data, etc). The relevent<br>
>> XEP is XEP-0077: In-Band Registration. And you should also also<br>
>> include <feature var="jabber:iq:register" /> in the disco#info replies<br>
>> from your component.<br>
>><br>
>> Note that this isn't the same as normal registration in that this is<br>
>> generally used to provide initial login info, which your component<br>
>> saves along with the JID, and then later you just check the JID of the<br>
>> sender (and don't need to authenticate every time). MSN/Yahoo/etc<br>
>> transports work this way.<br>
>><br>
>> --<br>
>> Waqas Hussain<br>
>> _______________________________________________<br>
>> JDev mailing list<br>
>> FAQ: <a href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
>> Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
>> Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
>> Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
>> _______________________________________________<br>
><br>
><br>
> _______________________________________________<br>
> JDev mailing list<br>
> FAQ: <a href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
> Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
> Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
> Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
> _______________________________________________<br>
><br>
><br>
<br>
</div></div>There could be multiple ways to achieve that.<br>
<br>
Letting the server allow anonymous users would work (though you won't<br>
be able to store JIDs of the users in your component, since they would<br>
be random and temporary).<br>
<br>
You could write a module for an existing server, which lets the server<br>
deal with the authentication, and the module with the IQs you want.<br>
And you can run this server+module as a second server on the<br>
sub-domain you want.<br>
<br>
Or you could just stop using auth on your component. I don't see why<br>
you need it. If you get an IQ, then it's always from an authenticated<br>
user. And if it's just some initial information you want to load for<br>
JIDs, just send the user a form to fill (XEP-0004: Data Forms).<br>
<br>
Hope that helps.<br>
<br>
--<br>
<font color="#888888">waqas<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
JDev mailing list<br>
FAQ: <a href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</div></div></blockquote></div><br></div></div>