code: public void changeConnector(String connectorName, String attribName, String attribValue) throws Exception {
          final Address address = Address.root().add(SUBSYSTEM, SUBSYSTEM_WEB, CONNECTOR, connectorName);
          final ModelNode op = createWriteAttributeRequest(attribName, attribValue, address);
          final ModelNode response = execute(op);
          if (!isSuccess(response)) {
              throw new FailureException(response);
          }
          return;
      }
docs: Use this to modify an attribute for an existing connector.
  @param connectorName the existing connector whose attribute is to be changed
  @param attribName the attribute to get a new value
  @param attribValue the new value of the attribute
  @throws Exception if failed to change the attribute on the named connector