[jdev] XEP-0060 Subscription Authorization

Lindsay Oproman loproman at gmail.com
Fri Nov 9 14:54:03 CST 2007


Hello,

I have a question about subscription authorization that I was hoping
someone on this list might be able to help me with. I didn't see
anything in the documentation that answers my question. This may be
because I am new to XMPP and do not fully understand how resources are
treated by the server.

Essentially, what I'm trying to do is have notifications sent to *all*
FULL JIDs of a subscriber upon publication. For example, me at domain.com
subscribes to a topic. Something is then published to that topic. I
want a notification to go to both me at domain.com/resourceA and
me at domain.com/resourceB... not just the primary entity (whatever that
may be).

So, I figure one way to do this is to have me at domain.com/resourceA and
me at domain.com/resourceB both explicitly subscribe to the topic (using
their full JID). However, this is where my question regarding
authorization comes in. If me at domain.com is white listed, will
me at domain.com/resourceA and me at domain.com/resourceB be granted access
all the same? Alternatively, if the topic is using authorization
access mode, if authorization is granted to me at domain.com, will
individual authorization still need to be granted to both
me at domain.com/resourceA and me at domain.com/resourceB?

Thanks!

Lindsay



More information about the JDev mailing list