public class JbootShiroManager extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private JbootShiroInvokeListener |
invokeListener |
private ConcurrentHashMap<Long,ShiroAuthorizeProcesserInvoker> |
invokers |
private JbootShiroConfig |
jbootShiroConfig |
private static com.jfinal.template.expr.ast.MethodKeyBuilder |
keyBuilder |
private static JbootShiroManager |
me |
private ShiroRequiresAuthenticationProcesser |
requiresAuthenticationProcessor |
private ShiroRequiresGuestProcesser |
requiresGuestProcessor |
private ShiroRequiresUserProcesser |
requiresUserProcessor |
| 限定符 | 构造器和说明 |
|---|---|
private |
JbootShiroManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
buildShiroInvoker(Class clazz,
Method method)
根据类和方法上的注解生成shiro的注解处理器
|
JbootShiroInvokeListener |
getInvokeListener() |
static Long |
getMethodKey(Method method) |
void |
init(List<com.jfinal.config.Routes.Route> routes) |
AuthorizeResult |
invoke(com.jfinal.aop.Invocation invocation) |
static JbootShiroManager |
me() |
private static final JbootShiroManager me
private final JbootShiroConfig jbootShiroConfig
private final ShiroRequiresAuthenticationProcesser requiresAuthenticationProcessor
private final ShiroRequiresUserProcesser requiresUserProcessor
private final ShiroRequiresGuestProcesser requiresGuestProcessor
private ConcurrentHashMap<Long,ShiroAuthorizeProcesserInvoker> invokers
private static com.jfinal.template.expr.ast.MethodKeyBuilder keyBuilder
private JbootShiroInvokeListener invokeListener
private JbootShiroManager()
public static JbootShiroManager me()
public boolean buildShiroInvoker(Class clazz, Method method)
public AuthorizeResult invoke(com.jfinal.aop.Invocation invocation)
public static Long getMethodKey(Method method)
public JbootShiroInvokeListener getInvokeListener()
Copyright © 2024. All rights reserved.