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 ; }
Allows the caller to turn on or off complete access for the app server s admin console .