From 38ec8babda50215f984e5f5532ae70918af77378 Mon Sep 17 00:00:00 2001 From: Owen O'Malley Date: Mon, 24 Sep 2012 03:47:25 +0000 Subject: [PATCH] Fix the length of the secret key. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1389195 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hadoop/security/token/SecretManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java index cda36fe659c..37634b646fc 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java @@ -93,7 +93,7 @@ public abstract class SecretManager { /** * The length of the random keys to use. */ - private static final int KEY_LENGTH = 20; + private static final int KEY_LENGTH = 64; /** * A thread local store for the Macs.