Usage: How to use the RoleManager

Author: Daniel Spicar, Tsuyoshi Ito - clerezza.org

Date: March 25, 2009

1. Add a new role

You can add a role by clicking on the link Add Role on http://localhost:8282/admin/role-manager/. On the page you just need to enter a descriptive name for the role you want to create. Then click the add role button.

2. Manage permissions

The role permissions can be edited by clicking the manage permissions button. On the following page the current role permissions are listed. For example the DefaultRole has the entry (org.apache.clerezza.rdf.core.access.security.TcPermission "urn:x-localinstance:/content.graph" "read"). These permissions are based on Java Authentication and Authorization Service (JAAS). More information on how to use them can be found at: JAAS Permissions.

3. Delete a role

To delete a role simply click the delete button next to it in the role list.