上一页 1 ··· 4 5 6 7 8
  2018年9月11日
摘要: 官网:https://shiro.apache.org/ 1. 下载在非Web环境的独立应用中使用Shiro时,只需要shiro-core组件。在Maven项目中的依赖配置如下: 特别地!Shiro使用了日志框架slf4j,因此需要对应配置指定的日志实现组件,如:log4j,logback等。在此, 阅读全文
posted @ 2018-09-11 17:26 怦然丶心动 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 官网:https://shiro.apache.org/ Shiro主要组件包括:Subject,SecurityManager,Authenticator,Authorizer,SessionManager,CacheManager,Cryptography,Realms。 1. SubjectS 阅读全文
posted @ 2018-09-11 17:22 怦然丶心动 阅读(210) 评论(0) 推荐(0) 编辑
  2018年9月7日
摘要: 官网:https://shiro.apache.org/ 一. Shiro是什么Shiro是一个Java平台的开源权限框架,用于认证和访问授权。具体来说,满足对如下元素的支持: 用户,角色,权限(仅仅是操作权限,数据权限必须与业务需求紧密结合),资源(url)。 用户分配角色,角色定义权限。 访问授 阅读全文
posted @ 2018-09-07 15:07 怦然丶心动 阅读(404) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8