public interface UserAuthService
Modifier and Type | Method and Description |
---|---|
List<String> |
findPermissionsByRoleId(Integer roleId)
获取权限列表通过角色id
|
String |
findRoleNameByRoleId(Integer roleId)
根据角色id获取角色名称
|
org.apache.shiro.authc.SimpleAuthenticationInfo |
info(ShiroUser shiroUser,
User user,
String realmName)
获取shiro的认证信息
|
ShiroUser |
shiroUser(User user)
根据系统用户获取Shiro的用户
|
User |
user(String account)
根据账号获取登录用户
|
Copyright © 2018. All rights reserved.