docs: private void changeMethodConfigPanel(AuthenticationMethodType newMethodType) {
  		// If there's no new method, don't display anything
  		if (newMethodType == null) {
  			getConfigContainerPanel().removeAll();
  			getConfigContainerPanel().setVisible(false);
  			this.shownMethodType = null;
  			return;
  		}
  
  		// If a panel of the correct type is already shown, do nothing
  		if (shownMethodType != null && newMethodType.getClass().equals(shownMethodType.getClass())) {
  			return;
  		}
  
  		if (log.isDebugEnabled()) {
  			log.debug("Creating new panel for configuring: " + newMethodType.getName());
  		}
  		this.getConfigContainerPanel().removeAll();
  
  		// show the panel according to whether the authentication type needs configuration
  		if (newMethodType.hasOptionsPanel()) {
  			shownConfigPanel = newMethodType.buildOptionsPanel(getUISharedContext());
  			getConfigContainerPanel().add(shownConfigPanel, BorderLayout.CENTER);
  		} else {
  			shownConfigPanel = null;
  			getConfigContainerPanel().add(new JLabel(LABEL_CONFIG_NOT_NEEDED), BorderLayout.CENTER);
  		}
  		this.shownMethodType = newMethodType;
  
  		this.getConfigContainerPanel().setVisible(true);
  		this.getConfigContainerPanel().revalidate();
  	}