Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Remove security from Pentaho 6.1 CE

  1. #1

    Default Remove security from Pentaho 6.1 CE

    I'm using Pentaho CE 6.1 , i trying to remove security by Allowing Anonymous Access, i folowed the tuto from Pentaho 6.1 EE founded in official help https://help.pentaho.com/Documentation/6.1/0P0/150/040 , but i didn't find the same classes used in CE . Any one done in in Community Edition ? and what was the changes to make in comparaison with Entreprise Edition ?

    Thank's

  2. #2
    Join Date
    Nov 2014
    Posts
    150

    Default

    Hi.

    I've done that once, by following this tutorial:

    https://stackoverflow.com/questions/...without-log-in

    The only difference is that it was version 5.0.1. But I think it might work in 6.1 as well.
    Best Regards,

    Hugo Cerqueira
    Business Intelligence / Data Warehouse Analyst

  3. #3

    Default

    Thank's
    it work for reports , but how about the dashboards , i'm using Spec-India plugin to create my dashboards , and i want to delete the securtiy to acess to this dash url :
    http://localhost:8080/pentaho/conten...in%2Ftab1.pinb

    Any ideas how i can match this specific URL's parameters with reports and your solution ?

    Thank you very mutch
    Last edited by Yassine; 08-29-2016 at 08:58 AM.

  4. #4
    Join Date
    Nov 2014
    Posts
    150

    Default

    Hi.

    Since you're using SelfService BI, you'll need to add permissions to it as well.

    Remember when you added the following lines to applicationContext-spring-security.xml?

    Code:
    \A/content/pentaho-cdf/.*\Z=Anonymous,Authenticated
    \A/content/common-ui/.*\Z=Anonymous,Authenticated
    \A/content/analyzer/.*\Z=Anonymous,Authenticated
    \A/content/analyzer/scripts/.*\Z=Anonymous,Authenticated
    Try adding this one too:

    Code:
    \A/content/SelfServiceBI-res/.*\Z=Anonymous,Authenticated
    Best Regards,

    Hugo Cerqueira
    Business Intelligence / Data Warehouse Analyst

  5. #5

    Default

    Thank for your answer ;
    unfortunately is doesn't work ; i tried your answer. After that i tried to add also this line.
    \A/content/SelfServiceBI-res/SelfServiceBI/.*\Z=Anonymous,Authenticated
    .

    I tried also to add this Two lines in the same file
    \A/api/repos.*home.*admin.*/SelfServiceBI/.*\Z=Anonymous,Authenticated
    \A/api/repos.*home.*admin.*/SelfServiceBI/util/.*\Z=Anonymous,Authenticated
    And to to open the URL access to the SelfServiceBI plugin i tried also this 2 lines

    \A/content/SelfServiceBI-res/SelfServiceBI/.*\Z=Anonymous,Authenticated
    \A/content/SelfServiceBI-res/.*\Z=Anonymous,Authenticated


    PS: this is the URL folder of the plugin in Pentaho CE 6.1 :

    biserver-ce\pentaho-solutions\system\SelfServiceBI

    What did i miss ? any thing is wrong here ! ?
    Last edited by Yassine; 08-29-2016 at 09:56 AM.

  6. #6
    Join Date
    Nov 2014
    Posts
    150

    Default

    I see.

    Well, I don't know much about this plugin, but remember that it's still at an early stage in development. But perhaps you'll have more luck if you contact the developers about this.

    Still, as you're saying the name of the folder is "SelfServiceBI", you could do another test, by adding the following line:

    Code:
    \A/content/SelfServiceBI/.*\Z=Anonymous,Authenticated
    Best Regards,

    Hugo Cerqueira
    Business Intelligence / Data Warehouse Analyst

  7. #7

    Default

    Well ;

    I tried this too, and i have this result : Attachment 17015 .

    I think that need other ressources and i can't find them. However i tried to allow anonymous Access to all the content like this :
    \A/content/.*\Z=Anonymous,Authenticated
    It's a bad way but it work's. (at the same time i'm still searching a better method to do it)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.