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:56:13 UTC
svn commit: r1389199 -
/hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java
Author: omalley
Date: Mon Sep 24 03:56:12 2012
New Revision: 1389199
URL: http://svn.apache.org/viewvc?rev=1389199&view=rev
Log:
Fix the length of the secret key.
Modified:
hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java
Modified: hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java?rev=1389199&r1=1389198&r2=1389199&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java (original)
+++ hadoop/common/branches/branch-1.0/src/core/org/apache/hadoop/security/token/SecretManager.java Mon Sep 24 03:56:12 2012
@@ -75,7 +75,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.