根據預設,登入後 12 小時,新版 Edge 使用者介面的工作階段就會過期。 也就是說,New Edge UI 使用者必須在工作階段過期後重新登入。
如要設定工作階段逾時,請在 /opt/apigee/customer/application/management-ui.properties 檔案中設定 conf_uebe_authsessiontimeout 屬性。
如要設定這項屬性,請按照下列步驟操作:
- 在編輯器中開啟
management-ui.properties檔案。如果檔案不存在,請建立檔案:vi /opt/apigee/customer/application/management-ui.properties
- 將
conf_uebe_authsessiontimeout設為整數小時數 (預設為12),或設為包含時間單位的時間長度字串 (例如m代表分鐘,h代表小時)。舉例來說,如要將工作階段逾時設為 24 小時,請按照下列步驟操作:
conf_uebe_authsessiontimeout=24h
- 儲存變更。
- 確認屬性檔案的擁有者是
apigee使用者:chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
- 重新啟動 New Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart