HADOOP-17510. Hadoop prints sensitive Cookie information. (#2673)
(cherry picked from commit 924fa87010
)
This commit is contained in:
parent
cc42f5dafd
commit
ced08fba7c
@ -153,7 +153,6 @@ private synchronized void setAuthCookie(HttpCookie cookie) {
|
|||||||
cookieHeaders = new HashMap<>();
|
cookieHeaders = new HashMap<>();
|
||||||
cookieHeaders.put("Cookie", Arrays.asList(cookie.toString()));
|
cookieHeaders.put("Cookie", Arrays.asList(cookie.toString()));
|
||||||
}
|
}
|
||||||
LOG.trace("Setting token value to {} ({})", authCookie, oldCookie);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setAuthCookieValue(String value) {
|
private void setAuthCookieValue(String value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user