您可以在使用者首次存取 Edge UI 時,顯示同意橫幅。同意橫幅會顯示 HTML 格式的文字,以及使用者選取後可前往登入畫面的按鈕。例如:
如要新增同意橫幅,請按照下列步驟操作:
在編輯器中開啟 ui.properties 檔案。如果檔案不存在,請建立檔案:
vi /opt/apigee/customer/application/ui.properties
設定下列屬性:
# Enable the consent banner:
conf_apigee-base_apigee.feature.enableconsentbanner="true"
# Set the button text:
conf_apigee-base_apigee.consentbanner.buttoncaption="I Agree"
# Set the HTML text:
conf_apigee-base_apigee.consentbanner.body="<h1>Notice and Consent Banner</h1>
<div><p>Enter your consent text here.</p></div>"