public class NutShiroProcessor
extends org.nutz.mvc.impl.processor.AbstractProcessor
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
init |
protected org.nutz.integration.shiro.NutShiroMethodInterceptor |
interceptor |
protected String |
loginUri |
protected boolean |
match |
protected String |
noAuthUri |
| 构造器和说明 |
|---|
NutShiroProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(org.nutz.mvc.NutConfig config,
org.nutz.mvc.ActionInfo ai) |
void |
process(org.nutz.mvc.ActionContext ac) |
protected void |
whenException(org.nutz.mvc.ActionContext ac,
Exception e) |
protected void |
whenOtherException(org.nutz.mvc.ActionContext ac,
Exception e) |
protected void |
whenUnauthenticated(org.nutz.mvc.ActionContext ac,
org.apache.shiro.authz.UnauthenticatedException e) |
protected void |
whenUnauthorized(org.nutz.mvc.ActionContext ac,
org.apache.shiro.authz.UnauthorizedException e) |
protected org.nutz.integration.shiro.NutShiroMethodInterceptor interceptor
protected String loginUri
protected String noAuthUri
protected boolean match
protected boolean init
public void init(org.nutz.mvc.NutConfig config,
org.nutz.mvc.ActionInfo ai)
throws Throwable
init 在接口中 org.nutz.mvc.Processorinit 在类中 org.nutz.mvc.impl.processor.AbstractProcessorThrowableprotected void whenException(org.nutz.mvc.ActionContext ac,
Exception e)
throws Throwable
Throwableprotected void whenUnauthenticated(org.nutz.mvc.ActionContext ac,
org.apache.shiro.authz.UnauthenticatedException e)
throws Exception
Exceptionprotected void whenUnauthorized(org.nutz.mvc.ActionContext ac,
org.apache.shiro.authz.UnauthorizedException e)
throws Exception
ExceptionCopyright © 2019. All rights reserved.