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

Adding Undertow application-security-domain requires reload but the operation outcome doesn't mention it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • None
    • Security, Web (Undertow)
    • None
    • Hide
      • deploy attached application
      • open the application (http://localhost:8080/elytron-current-domain/) in browser - it should report null (as the Elytron is not used for default security domain)
        SecurityDomain=null
        
      • change configuration to use Elytron for the default domain "other"
        jboss-eap-7.1/bin/jboss-cli.sh -c \
        '/subsystem=undertow/application-security-domain=other:add(http-authentication-factory=application-http-authentication)'
        {"outcome" => "success"}
        
      • reload the test application (http://localhost:8080/elytron-current-domain/) in browser - it should report not-null value, but the result is still
        SecurityDomain=null
        
      • reload server - now the test application correctly returns not-null value. E.g.
        SecurityDomain=org.wildfly.security.auth.server.SecurityDomain@4f8584eb
        
      Show
      deploy attached application open the application ( http://localhost:8080/elytron-current-domain/ ) in browser - it should report null (as the Elytron is not used for default security domain) SecurityDomain=null change configuration to use Elytron for the default domain "other" jboss-eap-7.1/bin/jboss-cli.sh -c \ '/subsystem=undertow/application-security-domain=other:add(http-authentication-factory=application-http-authentication)' { "outcome" => "success" } reload the test application ( http://localhost:8080/elytron-current-domain/ ) in browser - it should report not- null value , but the result is still SecurityDomain=null reload server - now the test application correctly returns not-null value. E.g. SecurityDomain=org.wildfly.security.auth.server.SecurityDomain@4f8584eb

    Description

      Add operation for the application-security-domain configuration in Undertow doesn't report that reload is required, but without the reload the change doesn't take effect.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: