Configuring security involves quite a few steps. Use the list below to make sure you've covered everything.
- Plan.
You must plan out your security before telling Pentaho how to use it. For example, you must have the appropriate security back-ends (e.g. LDAP) in place.- Determine your roles. Role names are case-sensitive in the Pentaho BI Platform.
What roles (out of potentially many) will have meaning in the Pentaho BI Platform? For example, you might have roles (or groups) that are used by other applications in your enterprise. You could reuse those roles or define new ones for use with the Pentaho BI Platform. If you already have a BI_USER role, you could tell Pentaho to use that existing role. - Determine which roles should have access to particular URLs.
This is web resource authorization. Example question: What role will be considered the Pentaho administrator? Note that Pentaho has default web resource authorization settings. You probably won't need to change the URLs that are protected. What you will have to change are the roles that are allow to access each URL. - Determine which roles should have which permissions to particular action sequences in the solution repository.
This is domain object authorization. Example question: Will roleA
be allowed to execute action sequences in folderX
?
- Determine your roles. Role names are case-sensitive in the Pentaho BI Platform.
- If you'd like to use a role prefix, define one. (By default, there is no role prefix.)
- Define the Pentaho administrator role.
- Take the domain object authorization rules (from the earlier planning step) and define them.
- Apply the ACLs. *
- Take the web resource authorization rules (from the earlier planning step) and define them in the
filterInvocationInterceptor
bean inapplicationContext-acegi-security.xml
.
* This step is a batch operation and will remove any custom permissions created via the Admin Permissions UI or Pentaho User Console!