-
Bug
-
Resolution: Done
-
Optional
-
7.0.0.ER7, 7.1.0.DR1
-
None
org.jboss.as.test.integration.sar.JNDIBindingMBeanTestCase
./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.sar.JNDIBindingMBeanTestCase -Dsecurity.manager
Fails with:
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.wildfly.naming.java.permission.JndiPermission" "global/env/foo/legacy2" "bind")" in code source "(vfs:/content/multiple-jndi-binding-mbeans.sar <no signer certificates>)" of "null") at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273) at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175) at org.jboss.as.naming.NamingContext.check(NamingContext.java:591) at org.jboss.as.naming.NamingContext.bind(NamingContext.java:251) at org.jboss.as.naming.InitialContext$DefaultInitialContext.bind(InitialContext.java:264) at org.jboss.as.naming.NamingContext.bind(NamingContext.java:289) at javax.naming.InitialContext.bind(InitialContext.java:425) at javax.naming.InitialContext.bind(InitialContext.java:425) at org.jboss.as.test.integration.sar.JNDIBindingService.start(JNDIBindingService.java:53) ... 12 more