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

Standalone configuration validator displays the wrong context, when an element with an error also exists in an other subsystem

XMLWordPrintable

    • Hide
      1. Download a new WildFly installation
      2. Open the standalone.xml config
      3. Inside the Undertow subsystem, add the following element :
        <application-security-domains>
            <application-security-domain name="other" http-authentication-factory="application-http-authentication"/>
        </application-security-domains>
        This is valid, the http-authentication-factory attribute is allowed here
      4. Inside the EJB3 subsystem, add the same element.
        This is NOT valid, the http-authentication-factory attribute is not allowed here
      5. Start WildFly with the standalone.xml configuration
      6. It will display an error on the Undertow element.
      Show
      Download a new WildFly installation Open the standalone.xml config Inside the Undertow subsystem, add the following element : <application-security-domains>     <application-security-domain name = "other" http-authentication-factory = "application-http-authentication" /> </application-security-domains> This is valid, the http-authentication-factory attribute is allowed here Inside the EJB3 subsystem, add the same element. This is NOT valid, the http-authentication-factory attribute is not allowed here Start WildFly with the standalone.xml configuration It will display an error on the Undertow element.
    • ---
    • ---

      In the standalone.xml configuration, two subsystems may have the same element. If one of these element is correct on one subsystem but wrong on the other, the Validator may mix up the two, and show an error on a valid element.

      On such example is the http-authentication-factory attribute in application-security-domain, which is allowed in Undertow but not in EJB3.

              bstansbe@redhat.com Brian Stansberry
              arthurmesserschmitt Arthur Messerschmitt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: