mx4j/src/core/javax/management MBeanPermission.java,1.8,1.9

Jeremy Boynes <[email protected]> Tue, 08 Feb 2005 07:12:23 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27674/src/core/javax/management

Modified Files:
	MBeanPermission.java 
Log Message:
[ 1116245 ] MBeanPermission implies is incorrect with wildcards
[ 1116450 ] spec ambiguity? security check for getDomains()
Fix both with testcases

Index: MBeanPermission.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/MBeanPermission.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** MBeanPermission.java	13 Nov 2004 16:38:21 -0000	1.8
--- MBeanPermission.java	8 Feb 2005 07:12:19 -0000	1.9
***************
*** 108,112 ****
        }
  
!       if (target.length() == 0) return "*";
  
        return target.toString();
--- 108,112 ----
        }
  
!       if (target.length() == 0) return "-#-[-]";
  
        return target.toString();



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click