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

Allow deployment initialization to have read-access to portions of the model

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Management
    • None
    • Compatibility/Configuration, User Experience

    Description

      Hello,

      When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.

      Java Code:

        	final ModelNode request = new ModelNode();
          	request.get(ClientConstants.OP).set("read-resource");
          	request.get("recursive").set(true);
          	request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
      
          	final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
          	final ModelNode response = client.execute(new OperationBuilder(request).build());
      
              final String section = response.get(ClientConstants.RESULT).get("security-domain")
                      .get("pw_MSSQL_CAS_DS")
      

      Result:
      ---------

      {
      
          "outcome" => "failed",
      
          "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
      
          "rolled-back" => true
      }
      

      Cheers,

      Attachments

        Activity

          People

            Unassigned Unassigned
            ofbizbrazil ofbiz brazil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: