On 11/19/09 8:42 PM, Adriano Bonat wrote:

> trying to subscribe user
> "test1" using the user "admin".

That's not going to work, at least not if you're trying to do something
like this:

<iq type='set'
    from='[email protected]/foo'
    to='pubsub.example.net'
    id='sub1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <subscribe
        node='bar'
        jid='[email protected]'/>
  </pubsub>
</iq>

How is pubsub.example.net supposed to know that [email protected] is
authorized to subscribe [email protected] to the node?

I think Fritzy meant that your application would add test1 behind the
scenes (not via protocol)

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to