@ServerSide @TestContext @Default public class RBACInterceptor extends AbstractInterceptor
| 构造器和说明 |
|---|
RBACInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
accept_(DefinitionContext context) |
void |
before(DefinitionContext context,
org.aopalliance.intercept.MethodInvocation joinPoint) |
int |
getOrder() |
void |
rbac(String[] acl,
String domain,
boolean safely)
基于角色验证当前账户是否有授权
|
accept, after, getContext, isServiceMethod, onErrorpublic int getOrder()
protected boolean accept_(DefinitionContext context)
accept_ 在类中 AbstractInterceptorpublic void before(DefinitionContext context, org.aopalliance.intercept.MethodInvocation joinPoint)
before 在接口中 ConcreteInterceptorbefore 在类中 AbstractInterceptorCopyright © 2021. All rights reserved.