HADOOP-11068. Match hadoop.auth cookie format to jetty output. Contributed by Gregory Chanan.

This commit is contained in:
cnauroth 2014-10-29 11:18:44 -07:00
parent 72a556d3b0
commit 5c900b522e
2 changed files with 4 additions and 2 deletions

View File

@ -589,9 +589,8 @@ public class AuthenticationFilter implements Filter {
StringBuilder sb = new StringBuilder(AuthenticatedURL.AUTH_COOKIE) StringBuilder sb = new StringBuilder(AuthenticatedURL.AUTH_COOKIE)
.append("="); .append("=");
if (token != null && token.length() > 0) { if (token != null && token.length() > 0) {
sb.append(token); sb.append("\"").append(token).append("\"");
} }
sb.append("; Version=1");
if (path != null) { if (path != null) {
sb.append("; Path=").append(path); sb.append("; Path=").append(path);

View File

@ -1021,6 +1021,9 @@ Release 2.6.0 - UNRELEASED
HADOOP-11243. SSLFactory shouldn't allow SSLv3. (Wei Yan via kasha) HADOOP-11243. SSLFactory shouldn't allow SSLv3. (Wei Yan via kasha)
HADOOP-11068. Match hadoop.auth cookie format to jetty output.
(Gregory Chanan via cnauroth)
Release 2.5.1 - 2014-09-05 Release 2.5.1 - 2014-09-05
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES