读书人

将 Shiro 作为应用的权限基础 5:Spr

发布时间: 2013-11-01 14:43:02 作者: rapoo

将 Shiro 作为应用的权限基础 五:SpringMVC+Apache Shiro+JPA(hibernate)整合配置

配置web.xml,applicationContext.xml, spring-mvc.xml,applicationContext-shiro.xml,而且都有详细的说明。

Web.xml是web项目最基本的配置文件,看这个配置,可以快速知道web项目使用什么框架,它就像一个面板,切入我们想用的插件。

applicationContext.xml是spring的基本配置,主要配置数据源、JPA实体管理器工厂、事务

spring-mvc.xml是SpringMVC的配置,

applicationContext-shiro.xml是shiro的配置,主要配置securityManager、shiroFilter

Web.xml

Shiro学习的系列文章

将 Shiro 作为应用的权限基础 一:shiro的整体架构

将 Shiro 作为应用的权限基础 二:shiro认证

将 Shiro 作为应用的权限基础 三:shiro授权

将 Shiro 作为应用的权限基础 四:配置说明

将 Shiro 作为应用的权限基础 五:SpringMVC+Apache Shiro+JPA(hibernate)整合配置

将 Shiro 作为应用的权限基础 六:基于SpringMVC+Shiro的用户登录权限验证

将 Shiro 作为应用的权限基础 七:基于Shiro验证用户权限,且给用户授权

将 Shiro 作为应用的权限基础 八:源码以及下载地址

读书人网 >Apache

热点推荐