Saiku去掉登录模块(默认不跳转登陆页面而是跳转主页面)

此内容是看的其他网站内容,忘记了原址,在此向原文作者致以敬意


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>

你可能感兴趣的:(saiku,BI,登陆)