commit | d6b7f10438677507fbe1adadec28d219889eab5b | [log] [tgz] |
---|---|---|
author | Owen O'Malley <omalley@apache.org> | Mon Sep 24 03:56:12 2012 +0000 |
committer | Owen O'Malley <omalley@apache.org> | Mon Sep 24 03:56:12 2012 +0000 |
tree | 03cb87783acdb46ae0e795c1fa9945231a47bd9e | |
parent | c6a250ebb84b1bbf37efad9963459b409afedb55 [diff] |
Fix the length of the secret key. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0@1389199 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/core/org/apache/hadoop/security/token/SecretManager.java b/src/core/org/apache/hadoop/security/token/SecretManager.java index f5eaf0d..1245e1e 100644 --- a/src/core/org/apache/hadoop/security/token/SecretManager.java +++ b/src/core/org/apache/hadoop/security/token/SecretManager.java
@@ -75,7 +75,7 @@ /** * 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.