Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

Add Web Resource Authentication

To configure Web resource authentication to correspond with your user roles in the Pentaho Server, perform the following instructions.

These instructions are valid across all security data access objects (DAOs).

  1. Ensure that the Pentaho Server is not currently running; if it is, run the stop-pentaho script.
  2. Open a terminal or command prompt window and navigate to the .../pentaho-solutions/system/ directory.
  3. Edit the applicationContext-spring-security.xml file with a text editor.
  4. Find and examine the following property: <property name="objectDefinitionSource">
  5. Modify the regex patterns to include your roles. The objectDefinitionSource property associates URL patterns with roles. RoleVoter specifies that if any role on the right hand side of the equals sign is granted to the user, the user may view any page that matches that URL pattern. The default roles in this file are not required. You can replace, delete, or change them in any way that suits you.

You should now have coarse-grained permissions established for user roles.