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:
parent
11a5d3674e
commit
96ec4af2df
|
@ -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
|
||||
|
|
|
@ -783,7 +783,7 @@ public class HttpExchange
|
|||
{
|
||||
_requestContent.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue