shiro
雪儿waii
https://m.gitee.com/wangxuewaii
展开
-
shiro学习笔记
有点坑,bean用注解的方式就权限就无效了,无语ing 授权需要继承 AuthorizingRealm 类, 并实现其 doGetAuthorizationInfo 方法 AuthorizingRealm 类继承自 AuthenticatingRealm, 但没有实现 AuthenticatingRealm 中的 doGetAuthenticationInfo, 所以认证和授权只需要继承 ...原创 2018-03-12 20:56:55 · 308 阅读 · 0 评论 -
springsecurity笔记
package com.imooc.security.browser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.authority.AuthorityUtils; import org.springframework.sec...原创 2018-06-05 20:14:41 · 294 阅读 · 0 评论