JETTY-1192 Fixed Digested POST

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1378 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2010-03-15 20:19:03 +00:00
parent 11a5d3674e
commit 96ec4af2df
4 changed files with 11 additions and 4 deletions

View File

@ -42,6 +42,7 @@ jetty-7.0.2.RC0
+ JETTY-1179 Persistant session tables created on MySQL use wrong datatype
+ JETTY-1184 shrink thread pool even with frequent small jobs
+ JETTY-1133 Handle multiple URL ; parameters
+ JETTY-1192 Fixed Digested POST
+ COMETD-46 reset ContentExchange response content on resend
+ Added IPAccessHandler
+ Updated Servlet3Continuation to final 3.0.20100224

View File

@ -783,7 +783,7 @@ public class HttpExchange
{
_requestContent.reset();
}
}
}
}
/**

View File

@ -62,7 +62,7 @@ public class DigestAuthenticator extends LoginAuthenticator
public Authentication validateRequest(ServletRequest req, ServletResponse res, boolean mandatory) throws ServerAuthException
{
if (mandatory)
if (!mandatory)
return _deferred;
HttpServletRequest request = (HttpServletRequest)req;
@ -114,8 +114,9 @@ public class DigestAuthenticator extends LoginAuthenticator
digest.qop = tok;
else if ("uri".equalsIgnoreCase(name))
digest.uri = tok;
else if ("response".equalsIgnoreCase(name)) digest.response = tok;
break;
else if ("response".equalsIgnoreCase(name))
digest.response = tok;
name=null;
}
}
}

View File

@ -67,6 +67,11 @@
<artifactId>jetty-rewrite</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>