cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1149393 - /cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java
Date Thu, 21 Jul 2011 22:34:52 GMT
Author: sergeyb
Date: Thu Jul 21 22:34:52 2011
New Revision: 1149393

URL: http://svn.apache.org/viewvc?rev=1149393&view=rev
Log:
[CXF-3661] Fixing some typos

Modified:
    cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java

Modified: cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java?rev=1149393&r1=1149392&r2=1149393&view=diff
==============================================================================
--- cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java
(original)
+++ cxf/trunk/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/xml/XmlEncInHandler.java
Thu Jul 21 22:34:52 2011
@@ -102,9 +102,9 @@ public class XmlEncInHandler implements 
             throwFault("CipherValue element is not available", null);
         }
         
-        byte[] decrypedPayload = null;
+        byte[] decryptedPayload = null;
         try {
-            decrypedPayload = decryptPayload(symmetricKeyBytes, cipherValue.getTextContent().trim(),
+            decryptedPayload = decryptPayload(symmetricKeyBytes, cipherValue.getTextContent().trim(),
                                                 algorithm);
         } catch (Exception ex) {
             throwFault("Payload can not be decrypted", ex);
@@ -112,7 +112,7 @@ public class XmlEncInHandler implements 
         
         Document payloadDoc = null;
         try {
-            payloadDoc = DOMUtils.readXml(new InputStreamReader(new ByteArrayInputStream(decrypedPayload),
+            payloadDoc = DOMUtils.readXml(new InputStreamReader(new ByteArrayInputStream(decryptedPayload),
                                                "UTF-8"));
         } catch (Exception ex) {
             throwFault("Payload document can not be created", ex);



Mime
View raw message