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.

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

Post a Comment

Popular posts from this blog

Changing the Java VM Memory Limits in Pentaho BI

CAS with Pentaho Community Edition