Uploaded image for project: 'Pentaho BA Platform'
  1. Pentaho BA Platform
  2. BISERVER-10708

userid and password arguments in direct links to plugins

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Duplicate
    • Affects Version/s: 5.0.0 GA (5.0.0 GA Suite Release), 5.0.6 GA, 5.0.7 GA, 5.0.0 CE
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Its not possible to pass in the userid and password via the URL for a direct link to a dashboard. For example..

      http://localhost:8080/pentaho/api/repos/:public:plugin-samples:pentaho-cdf-dd:cde_sample1.wcdf/generatedContent?userid=admin&password=password

      does not work but

      http://localhost:8080/pentaho/Home?userid=admin&password=password

      does.

      When you try to access a dashboard directly with the userid and password URL arguments you are prompted with a HTTP login box

        Issue Links

          Activity

          Hide
          pamval Pedro Vale added a comment -

          The workaround described here does not apply to versions 5.3 and above.

          Please refer to:

          http://pedroalves-bi.blogspot.pt/2015/02/useful-tips-easy-authentication-in.html

          thanks.

          Show
          pamval Pedro Vale added a comment - The workaround described here does not apply to versions 5.3 and above. Please refer to: http://pedroalves-bi.blogspot.pt/2015/02/useful-tips-easy-authentication-in.html thanks.
          Hide
          eDiaz Erick Diaz added a comment -

          Thanks Pedro

          Show
          eDiaz Erick Diaz added a comment - Thanks Pedro
          Hide
          dreamer.MZ Devan Manharlal added a comment -

          Thank you for this comment/solution.

          It worked for me.

          Show
          dreamer.MZ Devan Manharlal added a comment - Thank you for this comment/solution. It worked for me.
          Hide
          dreamer.MZ Devan Manharlal added a comment -

          Hi Pedro

          1st I changed the line 22 and 23. With this the Dashboard worked fine.
          but I had the problem with Report Parameters.
          2nd I changed the line API** and add the two API you mention (/api/repos/.wcdf/ and API/*). by the way, you put API and not API** (message 11July2014)
          So now the report parameters are working but it ask for username / password

          from line 22-24 I have: /api/repos/.wcdf/=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
          /api/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
          /plugin/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS

          Show
          dreamer.MZ Devan Manharlal added a comment - Hi Pedro 1st I changed the line 22 and 23. With this the Dashboard worked fine. but I had the problem with Report Parameters. 2nd I changed the line API** and add the two API you mention (/api/repos/.wcdf/ and API/* ). by the way, you put API and not API** (message 11July2014) So now the report parameters are working but it ask for username / password from line 22-24 I have: /api/repos/.wcdf/=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS /api/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS /plugin/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
          Hide
          pamval Pedro Vale added a comment -

          Please note this workaround no longer applies. Since 5.3 there's a far easier way to achieve this. Check the blog post in one of my previous comments.

          Show
          pamval Pedro Vale added a comment - Please note this workaround no longer applies. Since 5.3 there's a far easier way to achieve this. Check the blog post in one of my previous comments.

            People

            • Assignee:
              Unassigned
              Reporter:
              hazamonzo Harris Ward
            • Votes:
              12 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: