shiro和Spring集成

步驟: 1:添加shiro與spring集成依賴jar包 2:在web.xml中配置shiro與spring框架集成需要shiroFilter代理類 3:配置shiro配置文件         1>拷貝spring.xml文件, 刪除調用除了根元素之外的所有內容,然後配置shiro相關操作       2>在mvc.xml文件中配置引入spring-shiro.xml文件 4:測試,啓動服務器
相關文章
相關標籤/搜索