Tuesday, March 18, 2014

error in pentaho 5.0.1 - authentication via url parameters for iframe

After passing userid and password in URL and page load it ask for user and password, seems pentaho server does not recognize the parameters.


check here for the workaround (it's on the comments): http://jira.pentaho.com/browse/BISERVER-10708


Workaround is to edit the system/applicationContext-spring-security.xml file and change the parameters for the filterChainProxy.

Lines 22 and 23 should be replaced by:

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


The requestParameterProcessingFilter is missing from the config file in the CE release.

3 comments:

  1. This workaround affects the Ad Hoc Reports feature, It does not allow to edit the Ad Hoc Reports.

    Any other alternative?

    ReplyDelete
  2. I have the same problem, after I changed this, Mondrian doesn't work anymore...

    ReplyDelete

Create MongoDB service in Windows OS

1) Open Command Prompt 2) Create directory for Database and Logs                    mkdir c:\data\db                     mkdir c:\...