Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

Remove Security from Metadata Domain Repository

The BA Server and console must be stopped before following these instructions.

This procedure changes your default metadata domain repository so that it is no longer security-aware. It is a necessary step in completely removing security from the BA Platform; however, this procedure does not, in itself, remove all security. To do that, start with Remove Security by Allowing Anonymous Access.

  1. Edit the /pentaho-solutions/system/pentahoObjects.spring.xml file.
  2. Comment out the IMetadataDomainRepositoryImpl line, and uncomment the similar line below it. Alternatively, you can switch the value of IMetadataDomainRepositoryImpl from to
    <!-- <bean id="IMetadataDomainRepositoryImpl" 
          scope="singleton"/> -->
    <!--  Use this schema factory to disable PMD security -->
    <bean id="IMetadataDomainRepositoryImpl" 
  3. Save and close the file.

You've now switched the metadata domain repository to one that is not security-aware. Access controls will no longer be enforced on various metadata objects.