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

No redirect to the error page in Web console when no user added yet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 25.0.0.Final, 25.0.1.Final, 26.1.0.Final, 26.1.1.Final
    • Security, Web Console
    • None
    • Hide
      1. unzip server
      2. start server (e.g. ./bin/standalone.sh -c standalone-full.xml)
      3. go to http://localhost:9990 in your browser
      4. you can see only empty page and basic-auth challenge - in older WildFly, you would be redirected to an error page informing you that you haven't created any management user yet and you should do so first
      Show
      unzip server start server (e.g. ./bin/standalone.sh -c standalone-full.xml ) go to http://localhost:9990 in your browser you can see only empty page and basic-auth challenge - in older WildFly, you would be redirected to an error page informing you that you haven't created any management user yet and you should do so first
    • ---
    • ---

      There is no redirect to the error page when user access the web console management page before any management user has been created (e.g. via add-user.sh script). This error page provided information for the user to run the add-user.sh script so it was quite helpful.

      This changed with the release of WildFly 25 and is still missing in current build from `main` branch source of WildFly.

      WildFly 24 redirect works as expected.

      Was there any reason for this change in behavior or is this really a bug? I think that this redirection to error page with some info was quite helpful. Now user only see the basic-auth challenge in the browser and needs to go to the documentation to search for the reason and some how-to.

      Note: there has been done change in default security subsystem between WildFly 24 (legacy-security) and WildFly 25 (elytron), so it may be related somehow (that is why I also added security component to this issue). Also, I found issue like this WFLY-16063, so maybe another glitch in the HAL itself (web-console component).

            Unassigned Unassigned
            jstourac@redhat.com Jan Stourac
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: