docs: public void displaySecurityWarning(int iErrorCode)
      {
          String strDisplay = this.getTask().getApplication().getSecurityErrorText(iErrorCode);
          if (iErrorCode == Constants.ACCESS_DENIED)
          {
              m_iDisplayFieldDesc = ScreenConstants.SECURITY_MODE;    // Make sure this screen is not cached in TopScreen
              this.getScreenFieldView().addScreenLayout();            // Set up the screen layout
  
              App application = this.getTask().getApplication();
              String strMessage = application.getResources(ResourceConstants.ERROR_RESOURCE, true).getString(strDisplay);
              new SStaticString(this.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR), this, strMessage);
              new SCannedBox(this.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, MenuConstants.BACK);
              new MenuToolbar(null, this, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC, null);
              this.resizeToContent(strDisplay);
          }
          if ((iErrorCode == Constants.LOGIN_REQUIRED) || (iErrorCode == Constants.AUTHENTICATION_REQUIRED))
          {
              m_iDisplayFieldDesc = ScreenConstants.SECURITY_MODE;    // Make sure this screen is not cached in TopScreen
              this.getScreenFieldView().addScreenLayout();            // Set up the screen layout
  
              App application = this.getTask().getApplication();
              String strMessage = application.getResources(ResourceConstants.ERROR_RESOURCE, true).getString(strDisplay);
              new SStaticString(this.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR), this, strMessage);
              
              Record record = null;
              String strName = Params.USER_NAME;
              int iDataLength =  Constant.DEFAULT_FIELD_LENGTH;
              String strDesc = application.getResources(ResourceConstants.MAIN_RESOURCE, true).getString(Params.USER_NAME);
              Object strDefault = ((BaseApplication)application).getUserName();
              Converter converter = new StringField(record, strName, iDataLength, strDesc, strDefault);
              converter.setupDefaultView(this.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.SET_ANCHOR), this, ScreenConstants.DISPLAY_DESC);
  
              strName = Params.PASSWORD;
              iDataLength =  Constant.DEFAULT_FIELD_LENGTH;
              strDesc = application.getResources(ResourceConstants.MAIN_RESOURCE, true).getString(Params.PASSWORD);
              strDefault = null;
              iDataLength = 80;
              converter = new PasswordField(record, strName, iDataLength, strDesc, strDefault);
              converter = new HashSHAConverter(converter);
              converter = new FieldLengthConverter(converter, 20);
              converter.setupDefaultView(this.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.SET_ANCHOR), this, ScreenConstants.DISPLAY_DESC);
              SCannedBox loginBox = new SCannedBox(this.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, MenuConstants.LOGIN);
              loginBox.setRequestFocusEnabled(true);
              strDesc = application.getResources(ResourceConstants.MAIN_RESOURCE, true).getString("Create new account");
              String strCommand = Utility.addURLParam(null, Params.SCREEN, UserInfoModel.USER_INFO_SCREEN_CLASS);
              new SCannedBox(this.getNextLocation(ScreenConstants.RIGHT_OF_LAST_BUTTON_WITH_GAP, ScreenConstants.DONT_SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, strDesc, MenuConstants.FORM, strCommand, MenuConstants.FORM + DBConstants.TIP);
              this.setDefaultButton(loginBox);
              ((BaseField)converter.getField()).addListener(new FieldListener(null)
              {
                  public void setOwner(ListenerOwner owner)
                  {
                      if (owner == null)
                          setDefaultButton(null);
                      super.setOwner(owner);
                  }
              });
  
              for (int i = this.getSFieldCount(); i >= 0; i--)
              {
                  if (this.getSField(i) instanceof ToolScreen)
                      this.getSField(i).free();
              }
              new MenuToolbar(null, this, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC, null);
              this.resizeToContent(strDisplay);
          }
      }