How to set?
Hi all,
I have a web app which have 2 parts:front part and backend part. Both part need
a login page for users.
Members need to use memberLogin.jsp to login front part.
Admins need to use login.jsp to login backend part.
I use spring-context-shiro.xml to config shiro in spring mvc. How do I change
the config file?
<bean id="shiroFilter"
class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
<property name="securityManager" ref="securityManager" />
<property name="loginUrl" value="${adminPath}/login" />
<property name="successUrl" value="${adminPath}" />
<property name="filters">
<map>
<entry key="authc" value-ref="formAuthenticationFilter"/>
</map>
</property>
<property name="filterChainDefinitions">
<value>
/static/** = anon
/userfiles/** = anon
${adminPath}/login = authc
${adminPath}/logout = logout
${adminPath}/** = user
${frontpath}/edit/**=user
</value>
</property>
</bean>
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/mutiple-login-pages-tp7579885.html
Sent from the Shiro User mailing list archive at Nabble.com.