[JDEV] registering component with jabber server

Schuyler Heath sheath at jabber.org
Sun Apr 15 14:03:47 CDT 2001


After you write your stream header to the socket, base_accept should write one
back.  On the stream header which base_accept wrote back there is a id=""
attribute.  Make a SHA1 hash of the id + password and send it back in a handshake
tag: <handshake>sha-hash</handshake>
base_accept will send an empty <handshake/> tag in acknowledgement,
or close the stream if the password was wrong.


On Sun, Apr 15, 2001 at 06:13:04PM +0200, frank wrote:
> I tried many ways of initializing xml stream (like: '<stream:stream
> to="" from="winauth" xmlns="jabber:component:accept"
> xmlns:stream="http://etherx.jabber.org/streams">' ,for example) between my
> component and server. None of them worked for me... (I didn't get
> 'handshake' tag with id) I think I cannot come up with anything new so I'll
> wait for your help guys...
> Frank
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010415/afb66307/attachment-0002.pgp>

More information about the JDev mailing list