[JDEV] registering component with jabber server
Schuyler Heath
sheath at jabber.org
Sun Apr 15 15:38:42 CDT 2001
Your stream header should look like:
<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='some-value' xmlns='jabber:component:accept' to='winauth'>
base_accepts's reply header will look like:
<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='1234' xmlns='jabber:component:accept' from='winauth'>
Of course, these examples assume the id on the base_accept service is winauth.
Schuyler
On Sun, Apr 15, 2001 at 09:54:19PM +0200, frank wrote:
> What should stream header look like? This is the problem I can't resolve...
> Could you post an example?
>
> Frank
>
>
>
> > 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.
>
>
> _______________________________________________
> 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: <https://www.jabber.org/jdev/attachments/20010415/f5c95ef8/attachment-0002.pgp>
More information about the JDev
mailing list