zno2

随笔分类 -  Apache Shiro

配置ini文件
摘要:http://shiro.apache.org/configuration.html http://shiro.apache.org/web.html#Web-WebINIconfiguration 区别: 前者包含 [main], [users] and [roles] 后者追加:[urls] T 阅读全文

posted @ 2023-06-01 17:00 zno2 阅读(44) 评论(0) 推荐(0)

用户密码加密
摘要:http://shiro.apache.org/realm.html For example, let’s say your application uses username/password pairs for authentication. And due to the benefits of 阅读全文

posted @ 2023-06-01 17:00 zno2 阅读(47) 评论(0) 推荐(0)

Central Authentication Service (单点登录)资料查询
摘要:统一认证服务参考资料: https://en.wikipedia.org/wiki/Central_Authentication_Service https://www.apereo.org/projects/cas https://github.com/apereo/java-cas-client 阅读全文

posted @ 2023-06-01 16:22 zno2 阅读(79) 评论(0) 推荐(0)

shiro 和 spring
摘要:site:shiro.apache.org spring http://shiro.apache.org/spring.html 阅读全文

posted @ 2016-08-05 17:46 zno2 阅读(124) 评论(0) 推荐(0)

Shiro 登录页面的几个固定字段
摘要:http://shiro.apache.org/webapp-tutorial.html 阅读全文

posted @ 2016-08-05 17:45 zno2 阅读(318) 评论(0) 推荐(0)

No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
摘要:原因是:自定义的Realm文件在继承AuthorizingRealm 时,没有设置cache或者cacheManager属性 解决办法有两种: 1.是关闭cache 2.是设置cache或者cacheManager 必须是实现了 org.apache.shiro.cache.CacheManager 阅读全文

posted @ 2016-08-05 17:45 zno2 阅读(3364) 评论(0) 推荐(0)

Shiro ini 过滤器
摘要:http://shiro.apache.org/web.html#Web-WebINIconfiguration Filter NameClass anon org.apache.shiro.web.filter.authc.AnonymousFilter authc org.apache.shir 阅读全文

posted @ 2016-08-05 17:45 zno2 阅读(259) 评论(0) 推荐(0)

shiro 运行流程
摘要:单词词性解释 authentication n. 认证 authentic adj. 真实的 authorization n. 授权 authorise vt. 授权 authentication 你是谁 authorization 你能做什么 认证流程(可以在controller中进行,也可以在f 阅读全文

posted @ 2016-08-05 17:43 zno2 阅读(116) 评论(0) 推荐(0)

导航