首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

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

2013-11-01 
将 Shiro 作为应用的权限基础五:SpringMVC+Apache Shiro+JPA(hibernate)整合配置配置web.xml,applicationC

将 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 作为应用的权限基础 八:源码以及下载地址

热点排行