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

Modifying security in installer fails for domain configuration

    XMLWordPrintable

    Details

      Description

      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
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luck3y Ken Wills
              Reporter:
              jbliznak Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: