public void updateCommandSetup() {
    super.updateCommandSetup();

    boolean darfAnmelden = true;
    boolean darfAendern = true;

    //    try {
    //      LocalSession session = (LocalSession)
    // LocalSessionManager.getSessionManager().getSession();
    //      SessionBenutzer benutzer = (session != null) ? (SessionBenutzer)
    // LocalSessionManager.getSessionManager().getSession().getLocal("siaUser", null) : null;
    //
    //      darfAnmelden = (benutzer != null) ? true : false;
    //      darfAendern = (benutzer != null) ? benutzer.hatRecht("passwortAendern") : false;
    //    } catch (Exception e) {
    //    }

    try {
      setCommandEnabled(C_RECHTE, true);
      setCommandEnabled(C_ABMELDEN, true);
      setCommandEnabled(C_ANMELDEN, darfAnmelden);
      setCommandEnabled(C_AENDERN_PASSWORT, darfAendern);
    } catch (NoSuchCommandException e) {
      e.printStackTrace();
      Assertion.fail("NoSuchCommandException");
    }
  }
  public String computeVisualizerClassName(Keywords arguments) {
    UserInterfaceType userInterfaceType = getViewManager().getUserInterfaceType();
    String className = null;

    if (userInterfaceType == UserInterfaceType.SWING)
      className = "com.sdm.quasar.view.quickstart.swing.SwingPortalViewVisualizer";
    else if (userInterfaceType == UserInterfaceType.WINGS)
      className = MenueVisualizer.class.getName();
    else Assertion.fail("User interface type " + userInterfaceType + " not supported by " + this);

    return className;
  }