You can display a consent banner when a user first accesses the Edge UI. The consent banner displays HTML-formatted text and a button that the user selects to proceed to the log in screen. For example:
To add a consent banner:
- Open the ui.properties file
in an editor. If the file does not exist, create it::
> vi /opt/apigee/customer/application/ui.properties - Set the following 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>" - Save your changes.
- Restart the Edge UI:
> /opt/apigee/apigee-service/bin/apigee-service edge-ui restart
When you next open the Edge UI in a browser, you will have to accept the conent agreement before you can log in.