[standards-jig] JEP-0045 JID matching

Peter Saint-Andre stpeter at jabber.org
Tue Feb 3 22:25:43 UTC 2004

On Thu, Jan 29, 2004 at 09:25:12AM +0100, Jacek Konieczny wrote:
> On Wed, Jan 28, 2004 at 06:19:21PM -0600, Peter Saint-Andre wrote:
> > The privacy rules JID matching in draft-ietf-xmpp-im is as follows
> > (Section 10.1):
> > 
> >    If the type is "jid", then the 'value' attribute MUST 
> >    contain a valid Jabber ID.  JIDs are matched in the 
> >    following order: <user at domain/ resource>, then 
> >    <user at domain>, then <domain/resource>, then <domain>.  
> >    If the value is <user at domain>, then any resource for 
> >    that user at domain matches.  If the value is 
> >    <domain/resource>, then only that resource matches.  
> >    If the value is <domain>, then any user at domain (or 
> >    subdomain) matches.
> > 
> > It seems like we might want to follow the same rule in MUC for kicking
> > and banning, eh?
> Seems OK to me. Better than banning only by user JID (user with his own
> server could abuse MUC rooms without being really banned). However
> I don't fully understand <domain/resource> case.

That's an uncommon case right now (although you can send a message to
things like <jabber.org/echo>, which is a service at that domain), but 
is included for the sake of completeness.


More information about the Standards mailing list