Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-08-07 20:36:42 -0400
committerGreg Wilkins2012-08-07 20:37:02 -0400
commitb2fd3aad26de8f784253bd07c9cd5652513cbb9c (patch)
tree96623fdbcb104f394764ade99fe542f9595ea1c2 /jetty-security/src
parentb4ec1f36ed571bfad4b40ebae304ce36294a2910 (diff)
downloadorg.eclipse.jetty.project-b2fd3aad26de8f784253bd07c9cd5652513cbb9c.tar.gz
org.eclipse.jetty.project-b2fd3aad26de8f784253bd07c9cd5652513cbb9c.tar.xz
org.eclipse.jetty.project-b2fd3aad26de8f784253bd07c9cd5652513cbb9c.zip
386714 used deferred auth for form login and error pages
Diffstat (limited to 'jetty-security/src')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
index 17fbdc3f56..7acb1eff2d 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
@@ -188,8 +188,8 @@ public class FormAuthenticator extends LoginAuthenticator
if (!mandatory)
return _deferred;
- if (isLoginOrErrorPage(URIUtil.addPaths(request.getServletPath(),request.getPathInfo())))
- return Authentication.NOT_CHECKED;
+ if (isLoginOrErrorPage(URIUtil.addPaths(request.getServletPath(),request.getPathInfo())) &&!DeferredAuthentication.isDeferred(response))
+ return _deferred;
HttpSession session = request.getSession(true);

Back to the top