Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Credentials through url not working in pentaho 5.2

  1. #1

    Default Credentials through url not working in pentaho 5.2

    Hello ,
    I have installed prd 5.2 and bi server 5.2.
    I tried passing userid and password in url, but it didnt work.
    After searching i made 2 changes to my applicationContext-spring-security.xml file at line 22 and 23 by replacing old line with

    /api/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
    /plugin/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS


    Now i can bypass ,but the issue is i cannot check the report for different parameters i.e. the same report repeats even for different parameters.
    Also how can i pass parameters through url in pentaho 5.2.
    I have migrated from pentaho 3.7 to 5.2 and not worked in between.

    Kindly help.

  2. #2
    Join Date
    Apr 2008
    Posts
    146

    Default

    Did you know about line 22 and 23 from here? http://jira.pentaho.com/browse/BISERVER-10708
    http://jira.pentaho.com/browse/BISERVER-11670 also gives some helpful hints.

  3. #3

    Default

    I have successfully edited applicationContext-spring-security.xml and i can now pass userid and password through url.
    But the issue is Reports in Bi server are not working for different parameters , even if i pass different parameters , the default report is getting loaded each time.
    Pentaho report is not accepting any parameters , same report is loads . I checked the log , it says -
    "A servlet request, to the URI http://localhost:8080/pentaho/api/re...prpt/parameter, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected."

    Please help !
    Thanks in advance

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.