US and Worldwide: +1 (866) 660-7555
Results 1 to 6 of 6

Thread: Pass Authentication Credentials in URL Parameters no working on Pentaho 7

  1. #1
    Join Date
    Jun 2016
    Posts
    1

    Default Pass Authentication Credentials in URL Parameters no working on Pentaho 7

    Pass Authentication Credentials in URL Parameters

    • Go to the pentaho-server/pentaho-solutions/system directory and open the security.properties file.
    • Set the requestParameterAuthenticationEnabled property to true like this:

    1 requestParameterAuthenticationEnabled=true




    • Save and close the file.
    • Stop and restart the Pentaho Server.
    • Test the configuration by passing a username and password as URL parameters to one of the already-installed sample reports, like this:



    This is not working on Pentaho 7, take to anonymous login., Tested on Pentaho 6 and Pentaho 5 works fine.
    We need this to enable remote dashboards on TVs

  2. #2
    Join Date
    Aug 2006
    Posts
    258

  3. #3
    Join Date
    Mar 2017
    Posts
    16

    Default

    i have the same problem!

    however, is there a method to encrypt the url credentials ?!

  4. #4

    Default

    Anyone have a workaround ?

    I can't wait 31/12/17 release ...

    Thanks

  5. #5
    Join Date
    Aug 2006
    Posts
    258

    Default

    Locate the following file:
    pentaho-solutions/system/applicationContext-spring-security.xml

    Change the following entry from:
    <bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">
    <constructor-arg>
    <util:list>
    <ref bean="casAuthenticationProvider"/>
    <ref bean="anonymousAuthenticationProvider"/>
    </util:list>
    </constructor-arg>
    </bean>

    to:

    <bean id="defaultAuthenticationEventPublisher" class="org.springframework.security.authentication.DefaultAuthenticationEventPublisher">
    </bean>

    <bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">
    <constructor-arg>
    <util:list>
    <ref bean="casAuthenticationProvider"/>
    <ref bean="anonymousAuthenticationProvider"/>
    </util:list>
    </constructor-arg>
    <property name="authenticationEventPublisher">
    <ref bean="defaultAuthenticationEventPublisher" />
    </property>
    </bean>

    Restart BA Server

  6. #6

    Default

    or use another kind of authentication to avoid passing user/password to url.

    https://help.pentaho.com/Documentati...R0/070/010/00A

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
  •