Hi, all! I started using Wire Admin service, met some problems concerning wire scopes.
My Producer has "mail.john" in scope, and my Consumer has "mail.*". But when I connect them with a Wire the resulting scope is empty.
I checked out the specification and the Equinox Wire Admin implementation source code. It seems like there is a bug, and a wrong specification implementation.
Section 108.6.5 "Scope name syntax" of the specification says:
Scope names are normal String objects and can, in principle, contain any Unicode character. Scope names are used with the WirePermission class that extends java.security.BasicPermission. The BasicPermission class
implements the implies method and performs the name matching. The wildcard matching of this class is based on the concept of names where the constituents of the name are separated with a period ('.'): for example,
If we look into the source code (WireImpl.java:270)  we'll see that name matching for scopes is performed incorrectly (the '*' wildcard is processed only when it makes up the whole string).
Can you confirm that this is an error and what do I need to do to have it fixed?