Binding Security Roles in an Access Control Panel
Use the
Composite Application Framework Access Control Panel in a View Declaration Language (VDL) file to create an access relationship by a security role to a specific view. You can deny or allow access to defined security roles. You must have defined security roles before you begin this procedure. For more information, see
Add a Security Role to a Web Application or
Add a Security Role to a Portlet Application.
To manage security roles using an Access Control Panel control
1. In the UI Development perspective of the opened application, drag the view to contain the Access Control Panel to the design canvas.
2. In the Palette view, expand CAF Core > Control > Panel, and then drag an Access Control Panel to the view in the design canvas.
3. Click the Bindings view, expand Implicit Variables, and then expand Web Security Roles or Portlet Security Roles.
You must have security roles defined in the Bindings view to use this procedure.
4. Select the Access Control Panel in the design canvas, click the Properties view, and then click the Display tab.
5. In the Display tab, click Expression Binding next to Allowed Security Role or Denied Security Role. 6. In Expression Binding, expand Implicit Variables, and then expand Web Security Roles or Portlet Security Roles, select a security role, and then click OK.
The view shows the updated Access Control Panel with the allowed or denied access for the specified security role.