https://issues.apache.org/bugzilla/show_bug.cgi?id=51473

             Bug #: 51473
           Summary: SecurityConfig,set "package.definition" security
                    property to "nullsun.,java.,..."
           Product: Tomcat 7
           Version: 7.0.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: zhh200...@gmail.com
    Classification: Unclassified


Created attachment 27251
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27251
eclipse debug

In method "org.apache.catalina.security.SecurityConfig.setSecurityProperty",
when i enable the SecurityManager,
if 'properties' var equals "package.definition",
Security.getProperty(properties) will return null,

so

Security.setProperty(properties, definition + packageList); 

will be

Security.setProperty("package.definition", null + packageList); 

BTW:

"package.access" security property no problem。


my jdk:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to