Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9129

Setting env var SECMGR=true no longer works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 10.0.0.Final, 10.1.0.Final, 11.0.0.Alpha1
    • Security Manager
    • None
    • Hide

      Set env var SECMGR="true" by one of the methods above.
      Checkout Resteasy project https://github.com/resteasy/Resteasy.git
      Build mvn clean install -DskipTests
      cd testsuite
      run single test,
      mvn clean verify \
      -Dserver.home=<fully qualified path to WILDFLY_HOME> \
      -fn -Dtest=ContextRefreshDependenciesInDeploymentTest \
      -Dmaven.test.redirectTestOutputToFile=false

      If the security manager is enabled, this test will fail with permission errors.
      If the test runs successfully then security manager is not enabled.

      Show
      Set env var SECMGR="true" by one of the methods above. Checkout Resteasy project https://github.com/resteasy/Resteasy.git Build mvn clean install -DskipTests cd testsuite run single test, mvn clean verify \ -Dserver.home=<fully qualified path to WILDFLY_HOME> \ -fn -Dtest=ContextRefreshDependenciesInDeploymentTest \ -Dmaven.test.redirectTestOutputToFile=false If the security manager is enabled, this test will fail with permission errors. If the test runs successfully then security manager is not enabled.

      Setting env var SECMGR=true is suppose to enable the security manager.
      It is not working. I've tried the following and none of them enable
      the security manager.
      export SECMGR=true;
      on the cmd-line -DSECMGR=true
      edit bin/standalone.conf and uncomment line SECMGR="true"

              lvydra Lukas Vydra
              rsearls r searls
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: