Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-678

console-enabled="false" does not work in domain mode to disable web access to admin console

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR2
    • None
    • Server
    • None

      Description of problem:
      Disabling the web interface of the admin console using the console-enabled attribute does not work in domain mode.

      Version-Release number of selected component (if applicable):
      EAP 6.3.3

      How reproducible:
      Very

      Steps to Reproduce:
      1. Set up domain installation
      2. Set console-enabled="false" attribute on http management interface in host.xml [1] or using CLI [2]
      3. Log into admin console ( http://localhost:9990/console )

      [1] Set console-enabled in host.xml:
      <http-interface security-realm="ManagementRealm" console-enabled="false">
      <socket interface="management" port="${jboss.management.http.port:9990}" secure-port="9443"/>
      </http-interface>

      [2] Set console-enabled through CLI:
      /host=master/core-service=management/management-interface=http-interface/:write-attribute(name=console-enabled,value=false)

      Actual results:
      Able to access and log into web admin console.

      Expected results:
      Empty or no page is displayed as in standalone mode.

      Additional info:

              kwills@redhat.com Ken Wills
              kwills@redhat.com Ken Wills
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: