[jboss-jira] [JBoss JIRA] (WFLY-2588) HC Main.getHostSystemProperties() does not handle additional equals in system properties properly

Kabir Khan (JIRA) jira-events at lists.jboss.org
Thu Nov 28 08:00:08 EST 2013


     [ https://issues.jboss.org/browse/WFLY-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan reassigned WFLY-2588:
--------------------------------

    Assignee: Kabir Khan  (was: Brian Stansberry)

    
> HC Main.getHostSystemProperties() does not handle additional equals in system properties properly
> -------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2588
>                 URL: https://issues.jboss.org/browse/WFLY-2588
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.0.0.Beta1
>            Reporter: Kabir Khan
>            Assignee: Kabir Khan
>             Fix For: 8.0.0.CR1
>
>
> -Djava.security.policy==/Users/kabir/tmp/permit.policy (note the extra '=') is a valid setting to just use that policy file (unlike -Djava.security.policy=/Users/kabir/tmp/permit.policy which adds it to the system wide and user policies)
> Main.getHostSystemProperties() currently handles this in a way that the value becomes null, while it should be '=/Users/kabir/tmp/permit.policy' which causes this problem when starting up the servers 
> {code}
> [Server:server-one] Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyPermission module.path write)
> [Server:server-one]     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:376)
> [Server:server-one]     at java.security.AccessController.checkPermission(AccessController.java:549)
> [Server:server-one]     at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> [Server:server-one]     at java.lang.System.setProperty(System.java:741)
> [Server:server-one]     at org.jboss.modules.Main.main(Main.java:148)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list