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

Modifying security in installer fails for domain configuration

XMLWordPrintable

    • Regression
    • Not Required
      1. proceed to security domain panel
      2. add some module, eg. one authorization module
      3. finish installation

      With ER1 user is unable to configure security modules or JSSE via installer. Doing so result in failed installation.

      The probable cause is change made by WFCORE-2849.
      Eg.these CLI commands (genenerated by installer) have different outcomes in DR19 and ER1:

      $ bin/jboss-cli.sh 
      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      [disconnected /] embed-host-controller
      [domain@embedded /] /profile=default/subsystem=security/security-domain=mySecurityDomain:add()
      [domain@embedded /] /profile=default/subsystem=security/security-domain=mySecurityDomain/authentication=classic:add(login-modules=[{"code"=>"Client","flag"=>"Required","module-options"=>[("testName"=>"testValue"),]}])
      

      with failure in ER1:

      {
          "outcome" => "failed",
          "failure-description" => {"domain-failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0123: Stage RUNTIME is not valid for context process type EMBEDDED_HOST_CONTROLLER"},
          "rolled-back" => true
      }
      

              kwills@redhat.com Ken Wills
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: