将Shiro作为应用权限基础五SpringMVC+ApacheShiro+JPA(hibernate)整合配置.docVIP

  • 4
  • 0
  • 约1.19万字
  • 约 11页
  • 2018-05-27 发布于江苏
  • 举报

将Shiro作为应用权限基础五SpringMVC+ApacheShiro+JPA(hibernate)整合配置.doc

将 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 ?xml version=1.0encoding=UTF-8? web-app version=2.5 xmlns=/xml/ns/javaee xmlns:xsi=/2001/XMLSchema-instance xsi:schemaLocation=/xml/ns/javaee /xml/ns/javaee/web-app_2_5.xsd context-param param-namecontextConfigL

文档评论(0)

1亿VIP精品文档

相关文档