[jboss-jira] [JBoss JIRA] (WFLY-3651) permissions.xml is not used

David Lloyd (JIRA) issues at jboss.org
Mon Oct 27 10:45:39 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015209#comment-13015209 ] 

David Lloyd edited comment on WFLY-3651 at 10/27/14 10:45 AM:
--------------------------------------------------------------

You cannot have 
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager=default
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy=/tmp/test.policy

as part of your startup scripts, as this way you are overriding server's security manager and hence permissions.xml cannot work. -only thing needed to enable security manager in wildfly is to add -scrmgr to jboss-modules parameters-.


was (Author: ctomc):
You cannot have 
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager=default
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy=/tmp/test.policy

as part of your startup scripts, as this way you are overriding server's security manager and hence permissions.xml cannot work. only thing needed to enable security manager in wildfly is to add -scrmgr to jboss-modules parameters.

> permissions.xml is not used
> ---------------------------
>
>                 Key: WFLY-3651
>                 URL: https://issues.jboss.org/browse/WFLY-3651
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security Manager
>    Affects Versions: 8.1.0.Final
>         Environment: Fedora 20, jdk1.7.0_60
>            Reporter: Ondrej Kotek
>            Assignee: David Lloyd
>            Priority: Blocker
>         Attachments: permissions-bug-1.0-SNAPSHOT.war
>
>
> With security manager turned on, an application cannot use permissions allowed by permissions.xml configuration -- against EE 7 specification. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list