Fork me on GitHub
摘要: 总结Spring Security的使用方法有如下几种: 一种是全部利用配置文件,将用户、权限、资源(url)硬编码在xml文件中。 二种是用户和权限用数据库存储,而资源(url)和权限的对应关系硬编码在xml文件中。 三种是全部使用数据库存储,将用户、角色、权限、资源以及它们之间的对应关系都... 阅读全文
posted @ 2015-02-10 16:18 何海洋 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: Security提供了20多个filter,每个过滤器都提供特定的功能。这些filter在Spring Security filter过滤器链中的缺省顺序由org.springframework.security.config.http.SecurityFilters枚举类型定义。通过filte... 阅读全文
posted @ 2015-02-10 12:08 何海洋 阅读(2869) 评论(0) 推荐(0) 编辑