原创文章,转载请注明出处:http://qq85609655.iteye.com/blog/2224647
在pentaho5上实现了CAS单点登录
参考http://jnwzping.iteye.com/blog/2092849
配置后,单点登录实现了,但是无法再publish了。这个郁闷。
pentaho在国内用的人不少,但是深入研究的人不多。无奈,自己再次搭建环境看源码。
解决办法如下:
pentaho使用Spring Security实现的权限
找到发布的过滤链
/webservices/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
这里授权的是basicProcessingFilter
再找到basicProcessingFilter的配置:
<!-- Automatically receives AuthenticationEvent messages --> <bean id="loggerListener" class="org.springframework.security.event.authentication.LoggerListener" /> <bean id="basicProcessingFilter" class="org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter"> <property name="authenticationManager"> <ref local="authenticationManager" /> </property> <property name="authenticationEntryPoint"> <ref local="basicProcessingFilterEntryPoint" /> </property> </bean>
修改,添加默认的AuthenticationProvider:
<bean id="basicAuthenticationManager" class="org.springframework.security.providers.ProviderManager" autowire="default" dependency-check="default" lazy-init="default"> <property name="providers"> <list> <!-- <ref bean="daoAuthenticationProvider" /> --> <pen:bean class="org.springframework.security.providers.AuthenticationProvider" /> <ref bean="anonymousAuthenticationProvider" /> </list> </property> </bean> <!-- Automatically receives AuthenticationEvent messages --> <bean id="loggerListener" class="org.springframework.security.event.authentication.LoggerListener" /> <bean id="basicProcessingFilter" class="org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter"> <property name="authenticationManager"> <ref local="basicAuthenticationManager" /> </property> <property name="authenticationEntryPoint"> <ref local="basicProcessingFilterEntryPoint" /> </property> </bean>
这样,就实现了CAS的同时,兼容发布报表,元数据,OLAP的模型。
附件有整合cas的依赖包和配置文件
修改:
<!-- pentaho-spring-beans.xml文件里面替换权限 --> <import resource="applicationContext-spring-security-cas.xml" /> <!-- <import resource="applicationContext-spring-security.xml" /> -->
相关推荐
Mondrian是一个开放源代码的Rolap服务器,使用java开发的。它实现了xmla和jolap规范,而且自定义了一种使用mdx语言的客户端接口。Mondrian是olap服务器,而不是数据仓库服务器,因此Mondrian的元数据主要包括olap...
Olap模型设计指南 详细介绍实战技巧 维度建模 星型雪花架构
是珠海奥威软件科技有限公司自主研发的软件产品,全称是:Power-BI决策分析系统.Power-BI绿色开发平台,通过数据视图管理、数据转换管理、OLAP数据库管理、多维报表设计、即席报表设计等一系列功能,可快速帮助企业...
1、很早以前就针对Oracle 8里面的Express Server作了开发,当时是使用dml的C接口,在Java <br>里面通过JNI访问,虽然只有一个命令接口,但是着实费力,同时JNI对J2EE Application <br>Server也有所影响。...
2018大数据直播活动梓澈的QuickBI的OLAP引擎技术原理的 PPT
olap动态报表制作包括3项技术(kylin+saiku+mondrian),本部分详细描述怎么用kylin做cube
运用Oracle BI Beans开发企业OLAP系统.pdf
详细介绍在JDev上开发BI程序的过程,包括环境配置配置,建立BI程序,程序在tomcat上发布。附带文件是网上摘得关于BIBeans的程序在各Web服务器上发布的步骤。
联机分析处理(OLAP)是进行分析决策的工具,它的目标是满足决策支持或多维环境特定的查询和报表需求,其技术核心是“多维”这个概念,OLAP系统必须提供数据的多维概念视图,因此OLAP也可以说是多维数据分析工具的集合...
研究BI的人都应该清楚,这个东西很实用的哟。
数据仓库olap系统设计文档模板
提供分布式计算,支持表计算、跨库计算、OLAP多维计算、时间智能计算、SQL扩展、Python扩展,所有的表现层使用统一的数据模型,具备非常强大的计算能力! 保障系统稳定性 平台支持分布式session共享、扩展包热加载...
数据仓库与OLTP系统的差别 广州市品高软件开发有限公司 6 对比项 OLTP 数据仓库(OLAP) 用户 操作人员、底层管理人员 决策人员,高级管理人员 功能 日常操作处理 分析决策 DB设计 面向应用 面向主题 数据 原始数据...
BI绿色开发平台 是一个平台性产品,通过数据视图管理、数据转换管理、OLAP数据库管理、多维报表设计、即席报表设计等一系列功能,可快速帮助企业IT人员在现有ERP/CRM等信息系统基础之上,构建多维分析模型,...
第一部分:数据仓库技术与OLAP 数据仓库概念 数据仓库设计 操作数据存储 多维数据模型 联机分析处理(OLAP) 第二部分:数据挖掘概念与技术
flex olap 数据展现 ,样例代码.
Olap模型设计指南.pdf
数据仓库与OLAP分析实验帮助大家理解数据仓库与数据挖掘
数据仓库OLAP解决方案