public class AuthenticationManager extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
GRANT |
static int |
NO_AUTHORITYS |
static int |
NO_GRANT |
| 构造器和说明 |
|---|
AuthenticationManager() |
public static final int NO_AUTHORITYS
public static final int NO_GRANT
public static final int GRANT
public static boolean isGranted(int granted)
public static boolean decide(User user, RoleCategory roleType, String modelCode, String resourceCode)
user - 用户对象roleType - 角色类型modelCode - 模块编码resourceCode - 资源编码public static boolean decide(Role role, RoleCategory roleType, String modelCode, String resourceCode)
Copyright © 2023 Bstek. All rights reserved.