![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shiro
weixin_46078289
这个作者很懒,什么都没留下…
展开
-
shiro的请求授权与认证
1.自定义UserRealm package com.yuan.config; import com.yuan.pojo.User; import com.yuan.service.UserService; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.*; import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.原创 2021-05-26 09:20:03 · 159 阅读 · 0 评论 -
shiro快速入门
1.导入依赖(pom.xml中) <dependencies> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.4.2</version> </dependenc原创 2021-05-25 10:16:12 · 115 阅读 · 0 评论