code: public void setEnableAdminConsole(boolean enableFlag) throws Exception {
          final Address address = Address.root()
                  .add(CORE_SERVICE, CORE_SERVICE_MGMT, MGMT_INTERFACE, MGMT_INTERFACE_HTTP);
          final ModelNode req = createWriteAttributeRequest("console-enabled", Boolean.toString(enableFlag), address);
          final ModelNode response = execute(req);
          if (!isSuccess(response)) {
              throw new FailureException(response);
          }
          return;
      }
docs: Allows the caller to turn on or off complete access for the app server's admin console.
  
  @param enableFlag true if the admin console enabled and visible;
  false if you want to prohibit all access to the admin console
  @throws Exception any error