code: public void launchNewProviderWizard() {
          SecurityContext securityContext = securityFramework.getSecurityContext(getProxy().getNameToken());
          ResourceDescription resourceDescription = descriptionRegistry.lookup(PROVIDER_TEMPLATE);
  
          final DefaultWindow dialog = new DefaultWindow(
                  Console.MESSAGES.newMessagingProvider());
          AddResourceDialog addDialog = new AddResourceDialog(securityContext, resourceDescription,
                  new AddResourceDialog.Callback() {
                      @Override
                      public void onAdd(ModelNode payload) {
                          dialog.hide();
                          String name = payload.get("name").asString();
                          ResourceAddress fqAddress = PROVIDER_TEMPLATE.resolve(statementContext, name);
                          payload.get(OP).set(ADD);
                          payload.get(ADDRESS).set(fqAddress);
  
                          dispatcher.execute(new DMRAction(payload), new SimpleCallback<DMRResponse>() {
                              @Override
                              public void onFailure(Throwable caught) {
                                  super.onFailure(caught);
                                  loadProvider();
                              }
  
                              @Override
                              public void onSuccess(DMRResponse dmrResponse) {
                                  Console.info(Console.MESSAGES
                                          .successfullyAddedMessagingProvider(name));
                                  loadProvider();
                              }
                          });
                      }
  
                      @Override
                      public void onCancel() {
                          dialog.hide();
                      }
                  })
                  .addFactory("security-domain", attributeDescription ->  {
                      SuggestionResource suggestionResource = new SuggestionResource("security-domain", "Security domain", true,
                              Console.MODULES.getCapabilities().lookup(SECURITY_DOMAIN));
                      return suggestionResource.buildFormItem();
                  })
                  .include("security-enabled", "security-domain", "cluster-user", "cluster-password");
  
          dialog.setWidth(640);
          dialog.setHeight(480);
          dialog.setWidget(addDialog);
          dialog.setGlassEnabled(true);
          dialog.center();
      }
docs: ------------------------------------------------------ provider methods