super.invoke(request, response);
/** * Processes the specified request, and produces the appropriate * response, by invoking the first valve (if any) of this pipeline, or * the pipeline's basic valve. * * If the request path to process identifies an ad-hoc path, the * web module's ad-hoc pipeline is invoked. * * @param request The request to process * @param response The response to return */ public void invoke(Request request, Response response) throws IOException, ServletException { HttpServletRequest hreq = (HttpServletRequest) request.getRequest(); if (webModule != null && webModule.getAdHocServletName(hreq.getServletPath()) != null) { webModule.getAdHocPipeline().invoke(request, response); } else { RealmAdapter realmAdapter = (RealmAdapter)webModule.getRealm(); if (realmAdapter != null && realmAdapter.isSecurityExtensionEnabled()){ super.doChainInvoke(request, response); } else { super.invoke(request, response); } } }