/** * Dispatch to the form error-page * * @param request Request we are processing * @param response Response we are creating * @param config Login configuration describing how authentication should * be performed */ protected void forwardToErrorPage(Request request, HttpServletResponse response, LoginConfig config) throws IOException { if (trace) log.trace("forwardToErrorPage"); populateSession(request); super.forwardToErrorPage(request, response, config); SecurityAssociationActions.clearAuthException(); }
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
forwardToErrorPage(request, response, config);
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
forwardToErrorPage(request, response, config); return false;
forwardToErrorPage(request, response, config); return false;
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
forwardToErrorPage(request, response, config); return (false);
principal = realm.authenticate(username, password); if (principal == null) { forwardToErrorPage(request, response, config); return (false);
forwardToErrorPage(request, response, config); return (false);
forwardToErrorPage(request, response, config); return false;