启用意见征求横幅

适用于私有云的 Edge v4.18.05

您可以在用户首次访问 Edge 界面时显示意见征求横幅。意见征求横幅 显示 HTML 格式的文本和一个可供用户选择转到登录屏幕的按钮。 例如:

若要添加意见征求横幅,请执行以下操作:

  1. 通过编辑器打开 ui.properties 文件。 如果该文件不存在,请创建 :
    vi /opt/apigee/customer/application/ui.properties
  2. 设置以下属性:
    # 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>"
  3. 保存更改。
  4. 重启 Edge 界面:
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

下次在浏览器中打开 Edge 界面时,您必须接受意见征求协议 然后才能登录。