![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shiro
qq_38718211
这个作者很懒,什么都没留下…
展开
-
shiro集成spring ,springmvc
web.xml: xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> contextConfigLocation classpat原创 2018-01-29 18:24:25 · 116 阅读 · 0 评论 -
shiro 集成 spring springMvc
web.xml: xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> contextConfigLocation classpath原创 2018-01-30 14:02:32 · 132 阅读 · 0 评论 -
shiro多realms 配置
配置securityManager管理realms 授权策略 配置realm原创 2018-01-30 14:49:39 · 367 阅读 · 0 评论 -
shiro验证流程及知识点
密码的比对: 通过 AuthenticatingRealm 的 credentialsMatcher 属性来进行的密码的比对! 1. 获取当前的 Subject. 调用 SecurityUtils.getSubject(); 2. 测试当前的用户是否已经被认证. 即是否已经登录. 调用 Subject 的 isAuthenticated() 3. 若没有被认证, 则把用户名和密码翻译 2018-01-30 14:08:59 · 284 阅读 · 0 评论