![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shiro
Green_1001
这个作者很懒,什么都没留下…
展开
-
Shiro+SpringMVC+Spring集成
近期由于使用shiro作为安全框架作为项目中要使用的权限管理,在此分享一下shiro于spring和springmvc集成的demo 1.首先添加web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="ht...2015-04-06 10:47:32 · 190 阅读 · 0 评论 -
Shiro中注解无效500错误
shiro在于Springmvc和Spring集成中可以使用编程式、jsp标签和注解来实现权限认证,注解在官方文档中致写了配置,但没有写在哪儿配置 要想使用shiro注解实现权限控制,我们需要在Springmvc中加入如下配置 <!-- shiro中注解起作用必须配置在springmvc配置文件中,配置在其他地方无效 --> <bean class="org.spri...2015-04-06 11:06:31 · 1171 阅读 · 0 评论