myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1073600 - in /myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util: CachedStateUtilsAES_CBCTest.java StateUtilsAES_CBCTest.java
Date Wed, 23 Feb 2011 05:24:10 GMT
Author: lu4242
Date: Wed Feb 23 05:24:10 2011
New Revision: 1073600

URL: http://svn.apache.org/viewvc?rev=1073600&view=rev
Log:
fix tests (already done in 4.0.x branch)

Modified:
    myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java
    myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java

Modified: myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java?rev=1073600&r1=1073599&r2=1073600&view=diff
==============================================================================
--- myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java
(original)
+++ myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java
Wed Feb 23 05:24:10 2011
@@ -52,7 +52,7 @@ public class CachedStateUtilsAES_CBCTest
     {
         super.setUp();
 
-        servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
+        servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "AES");
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);

Modified: myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java?rev=1073600&r1=1073599&r2=1073600&view=diff
==============================================================================
--- myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java
(original)
+++ myfaces/shared/trunk_3.0.x/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java
Wed Feb 23 05:24:10 2011
@@ -46,14 +46,13 @@ public class StateUtilsAES_CBCTest exten
     {
         super.setUp();
 
-        servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
+        servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "AES");
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
         servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);
         servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
         servletContext.addInitParameter(StateUtils.INIT_MAC_SECRET, AbstractStateUtilsTest.BASE64_KEY_SIZE_8);
         StateUtils.initSecret(servletContext);// should do nothing
-
     }
 
 }



Mime
View raw message