Saiku去掉登录模块
2016-01-04 10:28
453 查看
1、修改applicationContext-saiku-webapp.xml
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern="/json/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
2、在saiku-beans.xml中添加allowAnonymous属性
<bean id="sessionService" class="org.saiku.web.service.SessionService">
<property name="authenticationManager" ref="authenticationManager" />
<property name="allowAnonymous" value="true" />
</bean>
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern="/json/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
2、在saiku-beans.xml中添加allowAnonymous属性
<bean id="sessionService" class="org.saiku.web.service.SessionService">
<property name="authenticationManager" ref="authenticationManager" />
<property name="allowAnonymous" value="true" />
</bean>
相关文章推荐
- Facebook人工智能负责人Yann LeCun谈深度学习的局限性
- QDU65 again and again(字典序暴力or字典树)
- 151219DuoTaiDemo
- 趣说游戏AI开发:对状态机的褒扬和批判
- [Android Pro] 网络流量安全测试工具Nogotofail
- VT-x is not available (VERR_VMX_NO_VMX) 的解决方案
- OC对象的retainCount(引用计数器)
- VMfailVaild 错误号
- 【science封面文章】Human-level concept learning through probabilistic program induction
- LeetCode之Climbing Stairs与斐波那契数列的联想
- KMP字符串模式匹配详解http://blog.csdn.net/lin_bei/article/details/1252686
- Develop--Training(六)Getting Started--Working with System Permissions
- POJ 2135 Farm Tour && HDU 2686 Matrix && HDU 3376 Matrix Again 费用流求来回最短路
- 彻底解决INSTALL_FAILED_UPDATE_INCOMPATIBLE的安装错误
- Installation error: INSTALL_FAILED_NO_MATCHING_ABIS
- RAID原理以及分类
- org.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
- 理解cookie的path和domain属性
- 被误传的Cookie的Domain属性
- [leetcode] 11. Container With Most Water 解题报告