shiro与threamleaf的整合
摘要:1.添加依赖 2.在配置类中添加shiroDialect
阅读全文
posted @
2019-01-24 22:01
<meng>
阅读(184)
推荐(0) 编辑
shiro 注解式前提
摘要:<aop:config proxy-target-class="true"></aop:config> <bean class="org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor"> <p
阅读全文
posted @
2019-01-19 23:46
<meng>
阅读(92)
推荐(0) 编辑
shiro 没有权限异常处理
摘要:<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMappings"> <props> <prop key="org.apach
阅读全文
posted @
2019-01-19 20:41
<meng>
阅读(810)
推荐(0) 编辑
shiro 与spring的集成
摘要:1.导入spring与shiro的jar包 2.在web.xml 文件中配置shiro的shiroFilter <filter> <filter-name>shiroFilter</filter-name> <filter-class>org.springframework.web.filter.D
阅读全文
posted @
2018-12-30 22:01
<meng>
阅读(123)
推荐(0) 编辑
shrio Subject的认证
摘要:注意:shiro的认证只是获取用户名和密码,具体的匹配由shiro来完成
阅读全文
posted @
2018-12-29 18:00
<meng>
阅读(75)
推荐(0) 编辑
shiro 框架
摘要:惊天给大家总结一点shiro框架的小知识 Apache Shiro是一个强大且易用的Java安全框架,执行身份验证、授权、密码和会话管理。使用Shiro的易于理解的API,您可以快速、轻松地获得任何应用程序,从最小的移动应用程序到最大的网络和企业应用程序。 三个核心组件:Subject, Secur
阅读全文
posted @
2018-12-09 20:33
<meng>
阅读(110)
推荐(0) 编辑