xiaoyong931011
2021-12-15 6264de042f2ae3d56fd1d89f05dc9c1aa8445d6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cc.mrbird.febs.common.authentication;
 
import cc.mrbird.febs.common.annotation.Helper;
import org.apache.shiro.authz.AuthorizationInfo;
 
/**
 * @author MrBird
 */
@Helper
public class ShiroHelper extends ShiroRealm {
 
    /**
     * 获取当前用户的角色和权限集合
     *
     * @return AuthorizationInfo
     */
    public AuthorizationInfo getCurrentUserAuthorizationInfo() {
        return super.doGetAuthorizationInfo(null);
    }
}