shiro 配置首先访问地址
来源:互联网 发布:全国所有中小学数据库 编辑:程序博客网 时间:2024/06/13 23:49
shiro 配置首先访问 index 而不是 /login
在 filterChainDefinitions 配置如下代码
/ =anon
/index = anon
<!-- Shiro Filter --> <bean id="shiroSecurityFilter" class="org.apache.shiro.spring.web.ShiroFilterFactoryBean"> <property name="filters"> <map> <entry key="webFormAuthc" value-ref="webFormAuthenticationFilter" /> </map> </property> <property name="securityManager" ref="securityManager" /> <property name="loginUrl" value="/login" /> <property name="successUrl" value="/index" /> <property name="unauthorizedUrl" value="/index" /> <property name="filterChainDefinitions"> <value> / =anon /index = anon /resources/** = anon /get-captcha = anon /register/** = anon /forget/** = anon /trun/link/** = anon /notice/** = anon /insuranceConsult/** = anon /sanbiao/** = anon /news/** = anon /shuffling/** = anon /login = webFormAuthc /logout = logout /** = user </value> </property> </bean>
0 0
- shiro 配置首先访问地址
- shiro 配置用户访问首页
- nginx配置访问地址
- PostgreSQL IP地址访问配置
- 微服务访问地址配置
- Shiro 配置
- shiro配置
- shiro配置
- Shiro配置
- shiro配置
- shiro配置
- Shiro配置
- shiro配置
- shiro 配置
- shiro 配置
- 配置shiro
- shiro配置
- Weblogic8缺省应用配置(缺省访问地址)
- leetcode:442. Find All Duplicates in an Array
- android自定义路径的属性动画
- 【解惑】深入jar包:从jar包中读取资源文件
- 路由器的串口(serial)和以太口的区别
- 微信小程序开发教程(基础篇)5-index 页面解析
- shiro 配置首先访问地址
- HashMap和HashTable的选择
- Ubuntu中安装JDK
- 表单按钮倒计时 》验证码 jQuery&&JavaScript
- cardboard的使用
- 使用ngrok实现内网穿透
- 关于python中@property的使用
- 浅析JavaScript的原型(prototype)(一)
- 合理使用nginxhash策略做更有意义的负载均衡