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> 

猜你喜欢

转载自daizj.iteye.com/blog/2161143