You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2012/09/24 05:47:25 UTC
svn commit: r1389195 -
/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java
Author: omalley
Date: Mon Sep 24 03:47:25 2012
New Revision: 1389195
URL: http://svn.apache.org/viewvc?rev=1389195&view=rev
Log:
Fix the length of the secret key.
Modified:
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java
Modified: hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java?rev=1389195&r1=1389194&r2=1389195&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java (original)
+++ hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java Mon Sep 24 03:47:25 2012
@@ -93,7 +93,7 @@ public abstract class SecretManager<T ex
/**
* 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.