类 NutShiroProcessor

  • 所有已实现的接口:
    org.nutz.mvc.Processor

    public class NutShiroProcessor
    extends org.nutz.mvc.impl.processor.AbstractProcessor
    Created by wizzer on 2016/6/24.
    • 字段详细资料

      • interceptor

        protected org.nutz.integration.shiro.NutShiroMethodInterceptor interceptor
      • loginUri

        protected String loginUri
      • noAuthUri

        protected String noAuthUri
      • match

        protected boolean match
      • init

        protected boolean init
    • 构造器详细资料

      • NutShiroProcessor

        public NutShiroProcessor()
    • 方法详细资料

      • init

        public void init​(org.nutz.mvc.NutConfig config,
                         org.nutz.mvc.ActionInfo ai)
                  throws Throwable
        指定者:
        init 在接口中 org.nutz.mvc.Processor
        覆盖:
        init 在类中 org.nutz.mvc.impl.processor.AbstractProcessor
        抛出:
        Throwable
      • process

        public void process​(org.nutz.mvc.ActionContext ac)
                     throws Throwable
        抛出:
        Throwable
      • whenUnauthenticated

        protected void whenUnauthenticated​(org.nutz.mvc.ActionContext ac,
                                           org.apache.shiro.authz.UnauthenticatedException e)
                                    throws Exception
        抛出:
        Exception
      • whenUnauthorized

        protected void whenUnauthorized​(org.nutz.mvc.ActionContext ac,
                                        org.apache.shiro.authz.UnauthorizedException e)
                                 throws Exception
        抛出:
        Exception
      • whenOtherException

        protected void whenOtherException​(org.nutz.mvc.ActionContext ac,
                                          Exception e)
                                   throws Exception
        抛出:
        Exception