You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2016/01/04 12:26:06 UTC
svn commit: r1722849 [2/4] - in /webservices/wss4j/trunk:
build-tools/src/main/resources/
integration/src/test/java/org/apache/wss4j/integration/test/kerberos/
performance/src/test/java/org/apache/wss4j/performance/
ws-security-common/src/main/java/org...
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java Mon Jan 4 11:26:04 2016
@@ -120,7 +120,7 @@ public class AttachmentTest extends Asse
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -165,7 +165,7 @@ public class AttachmentTest extends Asse
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -221,7 +221,7 @@ public class AttachmentTest extends Asse
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -266,7 +266,7 @@ public class AttachmentTest extends Asse
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -329,7 +329,7 @@ public class AttachmentTest extends Asse
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -379,7 +379,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -438,7 +438,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -497,7 +497,7 @@ public class AttachmentTest extends Asse
encrypt.prependToHeader(secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -562,7 +562,7 @@ public class AttachmentTest extends Asse
encrypt.prependToHeader(secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -624,7 +624,7 @@ public class AttachmentTest extends Asse
Assert.assertEquals(1, encryptedAttachments.get(0).getHeaders().size());
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -670,7 +670,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -730,7 +730,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -794,7 +794,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -883,7 +883,7 @@ public class AttachmentTest extends Asse
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -958,7 +958,7 @@ public class AttachmentTest extends Asse
doc = signature.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -1047,7 +1047,7 @@ public class AttachmentTest extends Asse
doc = signature.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyActionTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyActionTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyActionTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyActionTest.java Mon Jan 4 11:26:04 2016
@@ -89,7 +89,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -122,7 +122,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_02));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -155,7 +155,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -187,7 +187,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -219,7 +219,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -251,7 +251,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -283,7 +283,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -320,7 +320,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -352,7 +352,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -392,7 +392,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -428,7 +428,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -464,7 +464,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -506,7 +506,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -548,7 +548,7 @@ public class DerivedKeyActionTest extend
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
Assert.assertTrue(outputString.contains(ConversationConstants.WSC_NS_05_12));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -566,7 +566,7 @@ public class DerivedKeyActionTest extend
WSHandlerResult results =
secEngine.processSecurityHeader(doc, null, cbHandler, crypto);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java Mon Jan 4 11:26:04 2016
@@ -92,7 +92,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: 3DES + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
verify(doc);
@@ -130,7 +130,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: 3DES + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
verify(doc);
@@ -164,7 +164,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message: 3DES + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
WSHandlerResult results = verify(doc);
@@ -206,7 +206,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: ThumbprintSHA1 + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
WSHandlerResult results = verify(doc);
@@ -247,7 +247,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: SKI + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
WSHandlerResult results = verify(doc);
@@ -294,7 +294,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: 3DES + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(signedEncryptedDoc);
+ XMLUtils.prettyDocumentToString(signedEncryptedDoc);
LOG.debug(outputString);
}
verify(signedEncryptedDoc);
@@ -335,7 +335,7 @@ public class DerivedKeyTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message: 3DES + DerivedKeys");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
@@ -353,7 +353,7 @@ public class DerivedKeyTest extends org.
WSHandlerResult results =
secEngine.processSecurityHeader(doc, null, callbackHandler, crypto);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptedDataInHeaderTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptedDataInHeaderTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptedDataInHeaderTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptedDataInHeaderTest.java Mon Jan 4 11:26:04 2016
@@ -97,7 +97,7 @@ public class EncryptedDataInHeaderTest e
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -122,7 +122,7 @@ public class EncryptedDataInHeaderTest e
if (LOG.isDebugEnabled()) {
LOG.debug("Verified and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionAlgorithmSuiteTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionAlgorithmSuiteTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionAlgorithmSuiteTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionAlgorithmSuiteTest.java Mon Jan 4 11:26:04 2016
@@ -78,7 +78,7 @@ public class EncryptionAlgorithmSuiteTes
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -116,7 +116,7 @@ public class EncryptionAlgorithmSuiteTes
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -153,7 +153,7 @@ public class EncryptionAlgorithmSuiteTes
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -195,7 +195,7 @@ public class EncryptionAlgorithmSuiteTes
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -234,7 +234,7 @@ public class EncryptionAlgorithmSuiteTes
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java Mon Jan 4 11:26:04 2016
@@ -107,7 +107,7 @@ public class EncryptionCRLTest extends o
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -169,7 +169,7 @@ public class EncryptionCRLTest extends o
secEngine.processSecurityHeader(doc, null, handler, decCrypto);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionGCMTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionGCMTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionGCMTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionGCMTest.java Mon Jan 4 11:26:04 2016
@@ -91,7 +91,7 @@ public class EncryptionGCMTest extends o
Document encryptedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message:");
LOG.debug(outputString);
@@ -112,7 +112,7 @@ public class EncryptionGCMTest extends o
Document encryptedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message:");
LOG.debug(outputString);
@@ -136,7 +136,7 @@ public class EncryptionGCMTest extends o
Document encryptedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message:");
LOG.debug(outputString);
@@ -170,7 +170,7 @@ public class EncryptionGCMTest extends o
requestData.setDecCrypto(crypto);
final WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionPartsTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionPartsTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionPartsTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionPartsTest.java Mon Jan 4 11:26:04 2016
@@ -113,7 +113,7 @@ public class EncryptionPartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -171,7 +171,7 @@ public class EncryptionPartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -208,7 +208,7 @@ public class EncryptionPartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -273,7 +273,7 @@ public class EncryptionPartsTest extends
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -321,7 +321,7 @@ public class EncryptionPartsTest extends
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -437,7 +437,7 @@ public class EncryptionPartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -503,7 +503,7 @@ public class EncryptionPartsTest extends
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -546,7 +546,7 @@ public class EncryptionPartsTest extends
Document encryptedDoc = encrypt.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -555,7 +555,7 @@ public class EncryptionPartsTest extends
verify(encryptedDoc);
outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("asf1"));
assertTrue(outputString.contains("asf2"));
}
@@ -574,7 +574,7 @@ public class EncryptionPartsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("Verified and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java Mon Jan 4 11:26:04 2016
@@ -121,7 +121,7 @@ public class EncryptionTest extends org.
LOG.info("After Encryption Triple DES....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-15 keytransport, 3DES:");
LOG.debug(outputString);
@@ -153,7 +153,7 @@ public class EncryptionTest extends org.
encryptedDoc = builder.build(doc, crypto, secHeader);
LOG.info("After Encryption AES 128/RSA-15....");
outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-15 keytransport, AES 128:");
LOG.debug(outputString);
@@ -199,7 +199,7 @@ public class EncryptionTest extends org.
LOG.info("After Encryption Triple DES/RSA-OAEP....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-OAEP keytransport, 3DES:");
LOG.debug(outputString);
@@ -242,7 +242,7 @@ public class EncryptionTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("After the first encryption:");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -251,7 +251,7 @@ public class EncryptionTest extends org.
if (LOG.isDebugEnabled()) {
LOG.debug("After the second encryption:");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedEncryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedEncryptedDoc);
LOG.debug(outputString);
}
@@ -280,7 +280,7 @@ public class EncryptionTest extends org.
Document encryptedDoc = builder.build(doc, encCrypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message with THUMBPRINT_IDENTIFIER:");
LOG.debug(outputString);
@@ -320,7 +320,7 @@ public class EncryptionTest extends org.
Document encryptedDoc = builder.build(doc, encCrypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message with ENCRYPTED_KEY_SHA1_IDENTIFIER:");
LOG.debug(outputString);
@@ -355,7 +355,7 @@ public class EncryptionTest extends org.
secretKeyCallbackHandler.addSecretKey(identifier, keyData);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message with ENCRYPTED_KEY_SHA1_IDENTIFIER:");
LOG.debug(outputString);
@@ -390,7 +390,7 @@ public class EncryptionTest extends org.
secretKeyCallbackHandler.addSecretKey(identifier, keyData);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message with ENCRYPTED_KEY_SHA1_IDENTIFIER:");
LOG.debug(outputString);
@@ -433,7 +433,7 @@ public class EncryptionTest extends org.
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -499,7 +499,7 @@ public class EncryptionTest extends org.
LOG.info("After Encryption Triple DES....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-15 keytransport, 3DES:");
LOG.debug(outputString);
@@ -508,7 +508,7 @@ public class EncryptionTest extends org.
WSHandlerResult results = verify(encryptedDoc, crypto, keystoreCallbackHandler);
outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("counter_port_type"));
WSSecurityEngineResult actionResult =
@@ -569,7 +569,7 @@ public class EncryptionTest extends org.
Document encryptedDoc = doc;
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -615,7 +615,7 @@ public class EncryptionTest extends org.
builder.encrypt();
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -645,7 +645,7 @@ public class EncryptionTest extends org.
LOG.info("After Encryption Triple DES/RSA-OAEP....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-OAEP keytransport, 3DES:");
LOG.debug(outputString);
@@ -678,7 +678,7 @@ public class EncryptionTest extends org.
LOG.info("After Encryption Triple DES/RSA-OAEP....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message, RSA-OAEP keytransport, 3DES:");
LOG.debug(outputString);
@@ -703,7 +703,7 @@ public class EncryptionTest extends org.
secEngine.processSecurityHeader(doc, null, handler, decCrypto);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
@@ -725,7 +725,7 @@ public class EncryptionTest extends org.
final WSHandlerResult results =
secEngine.processSecurityHeader(doc, null, handler, null, crypto);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ModifiedRequestTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ModifiedRequestTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ModifiedRequestTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ModifiedRequestTest.java Mon Jan 4 11:26:04 2016
@@ -125,7 +125,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -182,7 +182,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -247,7 +247,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -298,7 +298,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("Signed Timestamp");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -333,7 +333,7 @@ public class ModifiedRequestTest extends
encryptionMethod.setAttributeNS(null, "Algorithm", "http://new-algorithm");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -379,7 +379,7 @@ public class ModifiedRequestTest extends
cipherValue.setTextContent(stringBuilder.toString());
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -442,7 +442,7 @@ public class ModifiedRequestTest extends
cipherValue.setTextContent(stringBuilder.toString());
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -489,7 +489,7 @@ public class ModifiedRequestTest extends
cipherValue.setTextContent(stringBuilder.toString());
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -545,7 +545,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -573,7 +573,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -608,7 +608,7 @@ public class ModifiedRequestTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/NoSoapPrefixSignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/NoSoapPrefixSignatureTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/NoSoapPrefixSignatureTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/NoSoapPrefixSignatureTest.java Mon Jan 4 11:26:04 2016
@@ -68,7 +68,7 @@ public class NoSoapPrefixSignatureTest e
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
verify(signedDoc);
@@ -86,7 +86,7 @@ public class NoSoapPrefixSignatureTest e
if (LOG.isDebugEnabled()) {
LOG.debug("Verfied and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordEncryptorTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordEncryptorTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordEncryptorTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordEncryptorTest.java Mon Jan 4 11:26:04 2016
@@ -95,7 +95,7 @@ public class PasswordEncryptorTest exten
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
verify(signedDoc);
@@ -123,7 +123,7 @@ public class PasswordEncryptorTest exten
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -144,7 +144,7 @@ public class PasswordEncryptorTest exten
Document encryptedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -174,7 +174,7 @@ public class PasswordEncryptorTest exten
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordTypeTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordTypeTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordTypeTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/PasswordTypeTest.java Mon Jan 4 11:26:04 2016
@@ -66,7 +66,7 @@ public class PasswordTypeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
WSSecurityEngine secEngine = new WSSecurityEngine();
@@ -118,7 +118,7 @@ public class PasswordTypeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Text:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
WSSecurityEngine secEngine = new WSSecurityEngine();
@@ -181,7 +181,7 @@ public class PasswordTypeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Username Token via WSHandler");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ReplayTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ReplayTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ReplayTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/ReplayTest.java Mon Jan 4 11:26:04 2016
@@ -98,7 +98,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -149,7 +149,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -194,7 +194,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -240,7 +240,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -290,7 +290,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -341,7 +341,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -374,7 +374,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -408,7 +408,7 @@ public class ReplayTest extends org.juni
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -460,7 +460,7 @@ public class ReplayTest extends org.juni
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(unsignedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -511,7 +511,7 @@ public class ReplayTest extends org.juni
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("OneTimeUse"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/RequireSignedEncryptedDataElementsTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/RequireSignedEncryptedDataElementsTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/RequireSignedEncryptedDataElementsTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/RequireSignedEncryptedDataElementsTest.java Mon Jan 4 11:26:04 2016
@@ -302,7 +302,7 @@ public class RequireSignedEncryptedDataE
if (LOG.isDebugEnabled()) {
LOG.debug("After Encryption....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -311,7 +311,7 @@ public class RequireSignedEncryptedDataE
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
return encryptedSignedDoc;
@@ -333,7 +333,7 @@ public class RequireSignedEncryptedDataE
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -342,7 +342,7 @@ public class RequireSignedEncryptedDataE
if (LOG.isDebugEnabled()) {
LOG.debug("After Encryption....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -356,7 +356,7 @@ public class RequireSignedEncryptedDataE
secEngine.processSecurityHeader(elem, reqData);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SKISignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SKISignatureTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SKISignatureTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SKISignatureTest.java Mon Jan 4 11:26:04 2016
@@ -78,7 +78,7 @@ public class SKISignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with DSA_SKI key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -121,7 +121,7 @@ public class SKISignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with DSA_Autodetect:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -155,7 +155,7 @@ public class SKISignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with RSA Autodetect:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/STRSignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/STRSignatureTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/STRSignatureTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/STRSignatureTest.java Mon Jan 4 11:26:04 2016
@@ -98,7 +98,7 @@ public class STRSignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with STR DirectReference key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing STR DirectReference....");
@@ -150,7 +150,7 @@ public class STRSignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with STR DirectReference key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing STR DirectReference....");
@@ -204,7 +204,7 @@ public class STRSignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with STR IssuerSerial key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing STR IS....");
@@ -256,7 +256,7 @@ public class STRSignatureTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with STR SKI key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing STR SKI....");
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java Mon Jan 4 11:26:04 2016
@@ -69,7 +69,7 @@ public class SecurityContextTokenTest ex
sctBuilder.prependSCTElementToHeader(doc, secHeader);
String out =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(out);
@@ -120,7 +120,7 @@ public class SecurityContextTokenTest ex
sctBuilder.prependSCTElementToHeader(doc, secHeader);
if (LOG.isDebugEnabled()) {
- String out = XMLUtils.PrettyDocumentToString(doc);
+ String out = XMLUtils.prettyDocumentToString(doc);
LOG.debug(out);
}
@@ -170,7 +170,7 @@ public class SecurityContextTokenTest ex
sctBuilder.prependSCTElementToHeader(doc, secHeader);
if (LOG.isDebugEnabled()) {
- String out = XMLUtils.PrettyDocumentToString(doc);
+ String out = XMLUtils.prettyDocumentToString(doc);
LOG.debug(out);
}
@@ -220,7 +220,7 @@ public class SecurityContextTokenTest ex
if (LOG.isDebugEnabled()) {
LOG.debug("DKT Absolute");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -263,7 +263,7 @@ public class SecurityContextTokenTest ex
sctBuilder.prependSCTElementToHeader(doc, secHeader);
if (LOG.isDebugEnabled()) {
- String out = XMLUtils.PrettyDocumentToString(doc);
+ String out = XMLUtils.prettyDocumentToString(doc);
LOG.debug(out);
}
@@ -306,7 +306,7 @@ public class SecurityContextTokenTest ex
sctBuilder.prependSCTElementToHeader(doc, secHeader);
if (LOG.isDebugEnabled()) {
- String out = XMLUtils.PrettyDocumentToString(doc);
+ String out = XMLUtils.prettyDocumentToString(doc);
LOG.debug(out);
}
@@ -352,7 +352,7 @@ public class SecurityContextTokenTest ex
if (LOG.isDebugEnabled()) {
LOG.debug("SCT sign");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -374,7 +374,7 @@ public class SecurityContextTokenTest ex
WSHandlerResult results =
secEngine.processSecurityHeader(doc, null, callbackHandler, crypto);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAKITest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAKITest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAKITest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAKITest.java Mon Jan 4 11:26:04 2016
@@ -70,7 +70,7 @@ public class SignatureAKITest extends or
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Crypto caCrypto = CryptoFactory.getInstance("wss40CAAKI.properties");
@@ -96,7 +96,7 @@ public class SignatureAKITest extends or
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
MerlinAKI caCrypto = new MerlinAKI();
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAlgorithmSuiteTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAlgorithmSuiteTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAlgorithmSuiteTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureAlgorithmSuiteTest.java Mon Jan 4 11:26:04 2016
@@ -82,7 +82,7 @@ public class SignatureAlgorithmSuiteTest
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -117,7 +117,7 @@ public class SignatureAlgorithmSuiteTest
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -155,7 +155,7 @@ public class SignatureAlgorithmSuiteTest
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -218,7 +218,7 @@ public class SignatureAlgorithmSuiteTest
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -251,7 +251,7 @@ public class SignatureAlgorithmSuiteTest
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCRLTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCRLTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCRLTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCRLTest.java Mon Jan 4 11:26:04 2016
@@ -101,7 +101,7 @@ public class SignatureCRLTest extends or
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -135,7 +135,7 @@ public class SignatureCRLTest extends or
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -173,7 +173,7 @@ public class SignatureCRLTest extends or
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -205,7 +205,7 @@ public class SignatureCRLTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Verfied and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertConstraintsTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertConstraintsTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertConstraintsTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertConstraintsTest.java Mon Jan 4 11:26:04 2016
@@ -77,7 +77,7 @@ public class SignatureCertConstraintsTes
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with BST key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -112,7 +112,7 @@ public class SignatureCertConstraintsTes
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with BST key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureCertTest.java Mon Jan 4 11:26:04 2016
@@ -105,7 +105,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -143,7 +143,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug("BST CA Cert");
LOG.debug(outputString);
}
@@ -181,7 +181,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug("BST CA Cert");
LOG.debug(outputString);
}
@@ -219,7 +219,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -251,7 +251,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -329,7 +329,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -368,7 +368,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
//
@@ -397,7 +397,7 @@ public class SignatureCertTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Verfied and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java Mon Jan 4 11:26:04 2016
@@ -104,7 +104,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("After Encryption....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -113,7 +113,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
verify(encryptedSignedDoc);
@@ -153,7 +153,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("After Encryption....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -169,7 +169,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
@@ -263,7 +263,7 @@ public class SignatureEncryptionTest ext
LOG.info("WSS198");
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
verify(encryptedSignedDoc);
@@ -300,7 +300,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("Signed and encrypted message with IssuerSerial key identifier (both), 3DES:");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
@@ -348,7 +348,7 @@ public class SignatureEncryptionTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("Signed and encrypted message with IssuerSerial key identifier (both), 3DES:");
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedSignedDoc);
+ XMLUtils.prettyDocumentToString(encryptedSignedDoc);
LOG.debug(outputString);
}
@@ -385,7 +385,7 @@ public class SignatureEncryptionTest ext
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -430,7 +430,7 @@ public class SignatureEncryptionTest ext
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -461,7 +461,7 @@ public class SignatureEncryptionTest ext
secEngine.processSecurityHeader(doc, null, callbackHandler, crypto);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureKeyValueTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureKeyValueTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureKeyValueTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureKeyValueTest.java Mon Jan 4 11:26:04 2016
@@ -72,7 +72,7 @@ public class SignatureKeyValueTest exten
Document signedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -115,7 +115,7 @@ public class SignatureKeyValueTest exten
builder.build(doc, CryptoFactory.getInstance("wss86.properties"), secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -149,7 +149,7 @@ public class SignatureKeyValueTest exten
Document signedDoc = builder.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignaturePartsTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignaturePartsTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignaturePartsTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignaturePartsTest.java Mon Jan 4 11:26:04 2016
@@ -119,7 +119,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -186,7 +186,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -224,7 +224,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -313,7 +313,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML message (key holder):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -436,7 +436,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -504,7 +504,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -546,7 +546,7 @@ public class SignaturePartsTest extends
Document signedDoc = sign.build(doc, crypto, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -568,7 +568,7 @@ public class SignaturePartsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("Verfied and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureTest.java Mon Jan 4 11:26:04 2016
@@ -94,7 +94,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with IssuerSerial key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing IS....");
@@ -124,7 +124,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with IssuerSerial key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing IS....");
@@ -177,7 +177,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -204,7 +204,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -245,7 +245,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -272,7 +272,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -310,7 +310,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After PKI Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -337,7 +337,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -377,7 +377,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with ThumbprintSHA1 key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing ThumbprintSHA1....");
@@ -410,7 +410,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with ThumbprintSHA1 key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing ThumbprintSHA1....");
@@ -487,7 +487,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -516,7 +516,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with IssuerSerial key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing IS....");
@@ -556,7 +556,7 @@ public class SignatureTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -596,7 +596,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -637,7 +637,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -666,7 +666,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with text node:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -696,7 +696,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
}
@@ -723,7 +723,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message with IssuerSerial key identifier:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After Signing IS....");
@@ -763,7 +763,7 @@ public class SignatureTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -807,7 +807,7 @@ public class SignatureTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -844,7 +844,7 @@ public class SignatureTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -874,7 +874,7 @@ public class SignatureTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -913,7 +913,7 @@ public class SignatureTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignedBSTTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignedBSTTest.java?rev=1722849&r1=1722848&r2=1722849&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignedBSTTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignedBSTTest.java Mon Jan 4 11:26:04 2016
@@ -115,7 +115,7 @@ public class SignedBSTTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -149,7 +149,7 @@ public class SignedBSTTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -173,7 +173,7 @@ public class SignedBSTTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("Verfied and decrypted message:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
return results;