在新版 Edge UI 中設定工作階段逾時

根據預設,登入後 12 小時,新版 Edge 使用者介面的工作階段就會過期。 也就是說,New Edge UI 使用者必須在工作階段過期後重新登入。

如要設定工作階段逾時,請在 /opt/apigee/customer/application/management-ui.properties 檔案中設定 conf_uebe_authsessiontimeout 屬性。

如要設定這項屬性,請按照下列步驟操作:

  1. 在編輯器中開啟 management-ui.properties 檔案。如果檔案不存在,請建立檔案:
    vi /opt/apigee/customer/application/management-ui.properties
  2. 將 conf_uebe_authsessiontimeout 設為整數小時數 (預設為 12),或設為包含時間單位的時間長度字串 (例如 m 代表分鐘,h 代表小時)。

    舉例來說,如要將工作階段逾時設為 24 小時,請按照下列步驟操作:

    conf_uebe_authsessiontimeout=24h
  3. 儲存變更。
  4. 確認屬性檔案的擁有者是 apigee 使用者:
    chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
  5. 重新啟動 New Edge UI:
    /opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart