You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2012/11/15 14:23:01 UTC

svn commit: r1409768 - /cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java

Author: ay
Date: Thu Nov 15 13:23:00 2012
New Revision: 1409768

URL: http://svn.apache.org/viewvc?rev=1409768&view=rev
Log:
use cipher RC4 for CXF-4596 test

Modified:
    cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java

Modified: cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java?rev=1409768&r1=1409767&r2=1409768&view=diff
==============================================================================
--- cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java (original)
+++ cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java Thu Nov 15 13:23:00 2012
@@ -61,7 +61,7 @@ public class CachedOutputStreamTest exte
         CachedOutputStream cos = new CachedOutputStream();
         cos.setThreshold(4);
         // need a 8-bit cipher so that all bytes are flushed when the stream is flushed.
-        cos.setCipherTransformation("DES/CFB8/NoPadding");
+        cos.setCipherTransformation("RC4");
         
         final String text = "Hello Secret World!";
         cos.write(text.getBytes("UTF-8"));
@@ -91,7 +91,7 @@ public class CachedOutputStreamTest exte
         CachedOutputStream cos = new CachedOutputStream();
         cos.setThreshold(4);
         // need a 8-bit cipher so that all bytes are flushed when the stream is flushed.
-        cos.setCipherTransformation("DES/CFB8/NoPadding");
+        cos.setCipherTransformation("RC4");
         
         final String text = "Hello Secret World!";
         cos.write(text.getBytes("UTF-8"));