Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21363

(7.4.z) WFLY-14423 - Force restart when legacy security initialize-jacc setting is changed

XMLWordPrintable

      Performing:

      /subsystem=security:write-attribute(name=initialize-jacc, value=false)
      /subsystem=elytron/policy=jacc:add(jacc-policy={})
      reload

      Generates:
      -------------------------------------
      Operation: /subsystem=elytron/policy=jacc:add(jacc-policy={})
      Failure: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.policy" => "java
      .lang.RuntimeException: WFLYELY01024: Failed to register policy context handlers
      Caused by: java.lang.RuntimeException: WFLYELY01024: Failed to register policy
      context handlers
      Caused by: java.lang.IllegalStateException: WFLYELY01069: Invalid javax.securit
      y.jacc.PolicyConfigurationFactory loaded, expected org.wildfly.security.authz.jacc.
      ElytronPolicyConfigurationFactory but received org.jboss.security.jacc.JBossPolicyC
      onfigurationFactory."}}
      -------------------------------------

      This is WFLY part of https://issues.redhat.com/browse/WFCORE-5272. The legacy security system should set server state to restart-required.

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: