HADOOP-11068. Match hadoop.auth cookie format to jetty output. Contributed by Gregory Chanan.
This commit is contained in:
parent
72a556d3b0
commit
5c900b522e
@ -589,9 +589,8 @@ public static void createAuthCookie(HttpServletResponse resp, String token,
|
||||
StringBuilder sb = new StringBuilder(AuthenticatedURL.AUTH_COOKIE)
|
||||
.append("=");
|
||||
if (token != null && token.length() > 0) {
|
||||
sb.append(token);
|
||||
sb.append("\"").append(token).append("\"");
|
||||
}
|
||||
sb.append("; Version=1");
|
||||
|
||||
if (path != null) {
|
||||
sb.append("; Path=").append(path);
|
||||
|
@ -1021,6 +1021,9 @@ Release 2.6.0 - UNRELEASED
|
||||
|
||||
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
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
Loading…
Reference in New Issue
Block a user