Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5500

Admin Console writes incorrect standalone.xml content

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide
      • Define a custom module for a security domain
      • Manually add the <security-domain><authentication><login-module> info into standalone.xml
      • Start the server
      • Ensure that standalone.xml is configured the same way
      • test login (should work)
      • add an arbitrary module option via the admin console
      • test login (should NOT work)
      • CHeck standalone.xml (module parameter should be missing
      Show
      Define a custom module for a security domain Manually add the <security-domain><authentication><login-module> info into standalone.xml Start the server Ensure that standalone.xml is configured the same way test login (should work) add an arbitrary module option via the admin console test login (should NOT work) CHeck standalone.xml (module parameter should be missing
    • Workaround Description:
      Hide

      After server shutdown, manually update the standalone.xml with the correct value and do not use the admin console to update the security domain again.

      Show
      After server shutdown, manually update the standalone.xml with the correct value and do not use the admin console to update the security domain again.

      Description

      I added a Security Domain (manually) to my JBoss application. It included a definition of a custom login module as well as a reference to the module in which it was contained:

      <login-module code="com.atlassian.crowd.application.jaas.CrowdLoginModule" flag="required" module="com.atlassian.crowd">

      Through multiple startups and shutdowns my configuration worked as I expected.
      When I attempted to use the Admin Console to add new module options to this security domain, my ability to login failed.
      Upon further investigation I discovered that the admin console removed the module property from the login-module tag.

      to prove this I repeated the process with the same result.

        Attachments

          Activity

            People

            Assignee:
            ctomc Toma┼ż Cerar (Inactive)
            Reporter:
            smatthews Scott Matthews (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: