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:29:59 UTC
svn commit: r1722850 [3/4] - in /webservices/wss4j/branches/2_1_x-fixes:
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/sr...
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/TimestampTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/TimestampTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/TimestampTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/TimestampTest.java Mon Jan 4 11:29:57 2016
@@ -75,7 +75,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -113,7 +113,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -143,7 +143,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -190,7 +190,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -219,7 +219,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -270,7 +270,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -318,7 +318,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -374,7 +374,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -408,7 +408,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -455,7 +455,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -502,7 +502,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -562,7 +562,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -616,7 +616,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -660,7 +660,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -710,7 +710,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -774,7 +774,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
//
@@ -819,7 +819,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -848,7 +848,7 @@ public class TimestampTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTDerivedKeyTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTDerivedKeyTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTDerivedKeyTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTDerivedKeyTest.java Mon Jan 4 11:29:57 2016
@@ -98,7 +98,7 @@ public class UTDerivedKeyTest extends or
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -159,7 +159,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -210,7 +210,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -263,7 +263,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -313,7 +313,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -362,7 +362,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -412,7 +412,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -475,7 +475,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -520,7 +520,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -567,7 +567,7 @@ public class UTDerivedKeyTest extends or
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertFalse(outputString.contains("wsse11:Salt"));
@@ -616,7 +616,7 @@ public class UTDerivedKeyTest extends or
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -666,7 +666,7 @@ public class UTDerivedKeyTest extends or
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -727,7 +727,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -795,7 +795,7 @@ public class UTDerivedKeyTest extends or
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTSignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTSignatureTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTSignatureTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UTSignatureTest.java Mon Jan 4 11:29:57 2016
@@ -90,7 +90,7 @@ public class UTSignatureTest extends org
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -141,7 +141,7 @@ public class UTSignatureTest extends org
builder.prependToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -180,7 +180,7 @@ public class UTSignatureTest extends org
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
@@ -223,7 +223,7 @@ public class UTSignatureTest extends org
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.contains("wsse:Username"));
assertFalse(outputString.contains("wsse:Password"));
assertTrue(outputString.contains("wsse11:Salt"));
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UsernameTokenTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UsernameTokenTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UsernameTokenTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/UsernameTokenTest.java Mon Jan 4 11:29:57 2016
@@ -137,7 +137,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Digest....");
@@ -188,7 +188,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Digest....");
@@ -217,7 +217,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Digest....");
@@ -248,7 +248,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Digest....");
@@ -276,7 +276,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -338,7 +338,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -403,7 +403,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -432,7 +432,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Text:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Text....");
@@ -473,7 +473,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Text:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
}
@@ -494,7 +494,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Text:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
LOG.info("After adding UsernameToken PW Text....");
@@ -520,7 +520,7 @@ public class UsernameTokenTest extends o
Document doc = SOAPUtil.toSOAPPart(SOAPUTMSG);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -547,7 +547,7 @@ public class UsernameTokenTest extends o
Document doc = SOAPUtil.toSOAPPart(SOAPUTNOUSERMSG);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
try {
@@ -574,7 +574,7 @@ public class UsernameTokenTest extends o
Document signedDoc = builder.build(doc, secHeader);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -601,7 +601,7 @@ public class UsernameTokenTest extends o
Document signedDoc = builder.build(doc, secHeader);
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
WSSecurityEngine secEngine = new WSSecurityEngine();
@@ -617,7 +617,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Empty password message: ");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -643,7 +643,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Text:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
try {
@@ -674,7 +674,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW custom type:");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -718,7 +718,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -761,7 +761,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -790,7 +790,7 @@ public class UsernameTokenTest extends o
secHeader.insertSecurityHeader();
Document signedDoc = builder.build(doc, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
assertTrue(outputString.contains("EncodingType"));
}
@@ -820,7 +820,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Username Token via WSHandler");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
@@ -850,7 +850,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Username Token via WSHandler");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
@@ -881,7 +881,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Username Token with an empty password via WSHandler");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
@@ -911,7 +911,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -954,7 +954,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -997,7 +997,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -1041,7 +1041,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(utDoc);
+ XMLUtils.prettyDocumentToString(utDoc);
LOG.debug(outputString);
}
@@ -1084,7 +1084,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("Username Token via WSHandler");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
}
@@ -1115,7 +1115,7 @@ public class UsernameTokenTest extends o
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/XOPAttachmentTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/XOPAttachmentTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/XOPAttachmentTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/XOPAttachmentTest.java Mon Jan 4 11:29:57 2016
@@ -175,7 +175,7 @@ public class XOPAttachmentTest extends o
}
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
//System.out.println(outputString);
}
@@ -183,7 +183,7 @@ public class XOPAttachmentTest extends o
attachmentCallbackHandler = new AttachmentCallbackHandler(encryptedAttachments);
verify(encryptedDoc, attachmentCallbackHandler);
- String processedDoc = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String processedDoc = XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -211,7 +211,7 @@ public class XOPAttachmentTest extends o
assertTrue(encryptedAttachments.size() == 2);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
// System.out.println(outputString);
}
@@ -220,7 +220,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(encryptedAttachments);
verify(encryptedDoc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String processedDoc = XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -248,7 +248,7 @@ public class XOPAttachmentTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -281,7 +281,7 @@ public class XOPAttachmentTest extends o
if (LOG.isDebugEnabled()) {
LOG.debug("After Signing....");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -318,7 +318,7 @@ public class XOPAttachmentTest extends o
assertTrue(encryptedAttachments.size() == 3);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
// System.out.println(outputString);
}
@@ -356,7 +356,7 @@ public class XOPAttachmentTest extends o
assertTrue(encryptedAttachments.size() == 3);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
@@ -402,7 +402,7 @@ public class XOPAttachmentTest extends o
assertTrue(encryptedAttachments.size() == 2);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
// System.out.println(outputString);
}
@@ -411,7 +411,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(encryptedAttachments);
verify(encryptedDoc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String processedDoc = XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -451,7 +451,7 @@ public class XOPAttachmentTest extends o
assertTrue(signedAttachments.size() == 1);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(signedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -459,7 +459,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(signedAttachments);
verify(signedDoc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(signedDoc);
+ String processedDoc = XMLUtils.prettyDocumentToString(signedDoc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -495,7 +495,7 @@ public class XOPAttachmentTest extends o
assertTrue(encryptedAttachments.size() == 3);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
// System.out.println(outputString);
}
@@ -504,7 +504,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(encryptedAttachments);
verify(encryptedDoc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(encryptedDoc);
+ String processedDoc = XMLUtils.prettyDocumentToString(encryptedDoc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -540,7 +540,7 @@ public class XOPAttachmentTest extends o
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -554,7 +554,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(encryptedAttachments);
verify(doc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(doc);
+ String processedDoc = XMLUtils.prettyDocumentToString(doc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
@@ -590,7 +590,7 @@ public class XOPAttachmentTest extends o
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -604,7 +604,7 @@ public class XOPAttachmentTest extends o
new AttachmentCallbackHandler(encryptedAttachments);
verify(doc, inboundAttachmentCallback);
- String processedDoc = XMLUtils.PrettyDocumentToString(doc);
+ String processedDoc = XMLUtils.prettyDocumentToString(doc);
assertTrue(processedDoc.contains(SOAP_BODY));
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BSTKerberosTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BSTKerberosTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BSTKerberosTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BSTKerberosTest.java Mon Jan 4 11:29:57 2016
@@ -94,7 +94,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -133,7 +133,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -172,7 +172,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -197,7 +197,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -231,7 +231,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -284,7 +284,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
}
@@ -325,7 +325,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
}
@@ -363,7 +363,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
}
@@ -404,7 +404,7 @@ public class BSTKerberosTest extends org
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
LOG.debug(outputString);
}
}
@@ -424,7 +424,7 @@ public class BSTKerberosTest extends org
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/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BinarySecurityTokenTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BinarySecurityTokenTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BinarySecurityTokenTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/BinarySecurityTokenTest.java Mon Jan 4 11:29:57 2016
@@ -80,7 +80,7 @@ public class BinarySecurityTokenTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("BST output");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -121,7 +121,7 @@ public class BinarySecurityTokenTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("PKIPath output");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -155,7 +155,7 @@ public class BinarySecurityTokenTest ext
if (LOG.isDebugEnabled()) {
LOG.debug("Custom Token output");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/WCFUsernameTokenTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/WCFUsernameTokenTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/WCFUsernameTokenTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/token/WCFUsernameTokenTest.java Mon Jan 4 11:29:57 2016
@@ -84,7 +84,7 @@ public class WCFUsernameTokenTest extend
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
try {
@@ -107,7 +107,7 @@ public class WCFUsernameTokenTest extend
if (LOG.isDebugEnabled()) {
LOG.debug("Message with UserNameToken PW Digest:");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/misc/PrincipalTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/misc/PrincipalTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/misc/PrincipalTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/misc/PrincipalTest.java Mon Jan 4 11:29:57 2016
@@ -86,7 +86,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
WSHandlerResult results = verify(signedDoc, null);
@@ -118,7 +118,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
WSHandlerResult results =
@@ -154,7 +154,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -197,7 +197,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -241,7 +241,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -284,7 +284,7 @@ public class PrincipalTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAlgorithmSuiteTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAlgorithmSuiteTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAlgorithmSuiteTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAlgorithmSuiteTest.java Mon Jan 4 11:29:57 2016
@@ -85,7 +85,7 @@ public class SamlAlgorithmSuiteTest exte
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -129,7 +129,7 @@ public class SamlAlgorithmSuiteTest exte
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -172,7 +172,7 @@ public class SamlAlgorithmSuiteTest exte
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAuthnTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAuthnTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAuthnTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlAuthnTest.java Mon Jan 4 11:29:57 2016
@@ -174,7 +174,7 @@ public class SamlAuthnTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -202,7 +202,7 @@ public class SamlAuthnTest extends org.j
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java Mon Jan 4 11:29:57 2016
@@ -165,7 +165,7 @@ public class SamlConditionsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -203,7 +203,7 @@ public class SamlConditionsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -244,7 +244,7 @@ public class SamlConditionsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -277,7 +277,7 @@ public class SamlConditionsTest extends
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -356,7 +356,7 @@ public class SamlConditionsTest extends
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);
@@ -400,7 +400,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("ProxyRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -443,7 +443,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("AudienceRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -483,7 +483,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("AudienceRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -543,7 +543,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("AudienceRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -611,7 +611,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("AudienceRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -656,7 +656,7 @@ public class SamlConditionsTest extends
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
assertTrue(outputString.contains("AudienceRestriction"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -729,7 +729,7 @@ public class SamlConditionsTest extends
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -757,7 +757,7 @@ public class SamlConditionsTest extends
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlNegativeTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlNegativeTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlNegativeTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlNegativeTest.java Mon Jan 4 11:29:57 2016
@@ -137,7 +137,7 @@ public class SamlNegativeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -191,7 +191,7 @@ public class SamlNegativeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed (modified) SAML message (key holder):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -238,7 +238,7 @@ public class SamlNegativeTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("Signed (modified) SAML message (key holder):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -275,7 +275,7 @@ public class SamlNegativeTest extends or
Document signedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (key holder):");
LOG.debug(outputString);
@@ -318,7 +318,7 @@ public class SamlNegativeTest extends or
Document signedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (unsigned key holder):");
LOG.debug(outputString);
@@ -366,7 +366,7 @@ public class SamlNegativeTest extends or
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Untrusted signed SAML 2 Authn Assertion (key holder):");
LOG.debug(outputString);
@@ -396,7 +396,7 @@ public class SamlNegativeTest extends or
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlReferenceTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlReferenceTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlReferenceTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlReferenceTest.java Mon Jan 4 11:29:57 2016
@@ -123,7 +123,7 @@ public class SamlReferenceTest extends o
);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML message Key Identifier (sender vouches):");
LOG.debug(outputString);
@@ -187,7 +187,7 @@ public class SamlReferenceTest extends o
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML message Direct Reference (sender vouches):");
LOG.debug(outputString);
@@ -252,7 +252,7 @@ public class SamlReferenceTest extends o
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML message Key Identifier (holder-of-key):");
LOG.debug(outputString);
@@ -317,7 +317,7 @@ public class SamlReferenceTest extends o
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML message Direct Reference (holder-of-key):");
LOG.debug(outputString);
@@ -393,7 +393,7 @@ public class SamlReferenceTest extends o
secHeaderElement.appendChild(assertionNode);
String outputString =
- XMLUtils.PrettyDocumentToString(encryptedDoc);
+ XMLUtils.prettyDocumentToString(encryptedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted message:");
LOG.debug(outputString);
@@ -451,7 +451,7 @@ public class SamlReferenceTest extends o
builder.appendToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted SAML 1.1 message Key Identifier (holder-of-key):");
LOG.debug(outputString);
@@ -527,7 +527,7 @@ public class SamlReferenceTest extends o
builder.appendToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted SAML 1.1 message Direct Reference (holder-of-key):");
LOG.debug(outputString);
@@ -586,7 +586,7 @@ public class SamlReferenceTest extends o
);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML2 message Key Identifier (sender vouches):");
LOG.debug(outputString);
@@ -649,7 +649,7 @@ public class SamlReferenceTest extends o
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML2 message Direct Reference (sender vouches):");
LOG.debug(outputString);
@@ -714,7 +714,7 @@ public class SamlReferenceTest extends o
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML2 message Key Identifier (holder-of-key):");
LOG.debug(outputString);
@@ -779,7 +779,7 @@ public class SamlReferenceTest extends o
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML2 message Direct Reference (holder-of-key):");
LOG.debug(outputString);
@@ -854,7 +854,7 @@ public class SamlReferenceTest extends o
builder.appendToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted SAML 2 message Key Identifier (holder-of-key):");
LOG.debug(outputString);
@@ -930,7 +930,7 @@ public class SamlReferenceTest extends o
builder.appendToHeader(secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Encrypted SAML 2 message Direct Reference (holder-of-key):");
LOG.debug(outputString);
@@ -979,7 +979,7 @@ public class SamlReferenceTest extends o
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java Mon Jan 4 11:29:57 2016
@@ -96,7 +96,7 @@ public class SamlTokenActionTest extends
true
);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -133,7 +133,7 @@ public class SamlTokenActionTest extends
true
);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -172,7 +172,7 @@ public class SamlTokenActionTest extends
true
);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -190,7 +190,7 @@ public class SamlTokenActionTest extends
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenCustomSignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenCustomSignatureTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenCustomSignatureTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenCustomSignatureTest.java Mon Jan 4 11:29:57 2016
@@ -102,7 +102,7 @@ public class SamlTokenCustomSignatureTes
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (Bearer):");
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -143,7 +143,7 @@ public class SamlTokenCustomSignatureTes
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2.0 Authn Assertion (Bearer):");
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -191,7 +191,7 @@ public class SamlTokenCustomSignatureTes
Document signedDoc = sign.build(doc, crypto, secHeader);
if (LOG.isDebugEnabled()) {
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -237,7 +237,7 @@ public class SamlTokenCustomSignatureTes
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed message:");
LOG.debug(outputString);
@@ -285,7 +285,7 @@ public class SamlTokenCustomSignatureTes
requestData.setValidateSamlSubjectConfirmation(false);
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
@@ -303,7 +303,7 @@ public class SamlTokenCustomSignatureTes
secEngine.processSecurityHeader(
doc, null, null, crypto
);
- String outputString = XMLUtils.PrettyDocumentToString(doc);
+ String outputString = XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java Mon Jan 4 11:29:57 2016
@@ -111,7 +111,7 @@ public class SamlTokenDerivedTest extend
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion Derived (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -214,7 +214,7 @@ public class SamlTokenDerivedTest extend
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java Mon Jan 4 11:29:57 2016
@@ -93,7 +93,7 @@ public class SamlTokenHOKTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (holder-of-key):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -134,7 +134,7 @@ public class SamlTokenHOKTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Attr Assertion (holder-of-key):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -147,7 +147,7 @@ public class SamlTokenHOKTest extends or
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
WSSecurityEngineResult actionResult =
@@ -185,7 +185,7 @@ public class SamlTokenHOKTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (holder-of-key):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -226,7 +226,7 @@ public class SamlTokenHOKTest extends or
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Attr Assertion (holder-of-key):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -239,7 +239,7 @@ public class SamlTokenHOKTest extends or
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
WSSecurityEngineResult actionResult =
@@ -265,7 +265,7 @@ public class SamlTokenHOKTest extends or
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java Mon Jan 4 11:29:57 2016
@@ -101,7 +101,7 @@ public class SamlTokenSVTest extends org
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -161,7 +161,7 @@ public class SamlTokenSVTest extends org
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Attr Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -221,7 +221,7 @@ public class SamlTokenSVTest extends org
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -281,7 +281,7 @@ public class SamlTokenSVTest extends org
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Attr Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -370,7 +370,7 @@ public class SamlTokenSVTest 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/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenTest.java Mon Jan 4 11:29:57 2016
@@ -276,7 +276,7 @@ public class SamlTokenTest extends org.j
true
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
if (LOG.isDebugEnabled()) {
LOG.debug("Unsigned SAML 1.1 authentication assertion via an Action:");
LOG.debug(outputString);
@@ -345,7 +345,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -386,7 +386,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -427,7 +427,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -469,7 +469,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2.0 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -510,7 +510,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -552,7 +552,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authz Assertion (sender vouches):");
LOG.debug(outputString);
@@ -615,7 +615,7 @@ public class SamlTokenTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Attr Assertion (sender vouches):");
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -693,7 +693,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion (sender vouches):");
LOG.debug(outputString);
@@ -754,7 +754,7 @@ public class SamlTokenTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -866,7 +866,7 @@ public class SamlTokenTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -931,7 +931,7 @@ public class SamlTokenTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -1184,7 +1184,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -1224,7 +1224,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
- String outputString = XMLUtils.PrettyDocumentToString(unsignedDoc);
+ String outputString = XMLUtils.prettyDocumentToString(unsignedDoc);
// assertTrue(outputString.contains("j\u00f6e") && outputString.contains("j\u00f6an"));
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
@@ -1265,7 +1265,7 @@ public class SamlTokenTest extends org.j
Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug(outputString);
}
@@ -1356,7 +1356,7 @@ public class SamlTokenTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(unsignedDoc);
+ XMLUtils.prettyDocumentToString(unsignedDoc);
LOG.debug(outputString);
}
@@ -1386,7 +1386,7 @@ public class SamlTokenTest extends org.j
WSHandlerResult results = secEngine.processSecurityHeader(doc, requestData);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SignedSamlTokenHOKTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SignedSamlTokenHOKTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SignedSamlTokenHOKTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SignedSamlTokenHOKTest.java Mon Jan 4 11:29:57 2016
@@ -122,7 +122,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 1.1 Authn Assertion (key holder):");
LOG.debug(outputString);
@@ -193,7 +193,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 1.1 Attr Assertion (key holder):");
LOG.debug(outputString);
@@ -255,7 +255,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 2 Authn Assertion (key holder):");
LOG.debug(outputString);
@@ -318,7 +318,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 2 Attr Assertion (key holder):");
LOG.debug(outputString);
@@ -382,7 +382,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion Issuer Serial (holder-of-key):");
LOG.debug(outputString);
@@ -443,7 +443,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 1.1 Authn Assertion Key Value (holder-of-key):");
LOG.debug(outputString);
@@ -504,7 +504,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("SAML 2 Authn Assertion Key Value (holder-of-key):");
LOG.debug(outputString);
@@ -570,7 +570,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, crypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 1.1 Authn Assertion (key holder):");
LOG.debug(outputString);
@@ -646,7 +646,7 @@ public class SignedSamlTokenHOKTest exte
wsSign.build(doc, userCrypto, samlAssertion, null, null, null, secHeader);
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
if (LOG.isDebugEnabled()) {
LOG.debug("Signed SAML 2 Attr Assertion (key holder):");
LOG.debug(outputString);
@@ -690,7 +690,7 @@ public class SignedSamlTokenHOKTest exte
doc, null, callbackHandler, sigCrypto, userCrypto
);
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
return results;
}
Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/validate/ValidatorTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/validate/ValidatorTest.java?rev=1722850&r1=1722849&r2=1722850&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/validate/ValidatorTest.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/test/java/org/apache/wss4j/dom/validate/ValidatorTest.java Mon Jan 4 11:29:57 2016
@@ -84,7 +84,7 @@ public class ValidatorTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(createdDoc);
+ XMLUtils.prettyDocumentToString(createdDoc);
LOG.debug(outputString);
}
@@ -120,7 +120,7 @@ public class ValidatorTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -162,7 +162,7 @@ public class ValidatorTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}
@@ -203,7 +203,7 @@ public class ValidatorTest extends org.j
if (LOG.isDebugEnabled()) {
LOG.debug("BST output");
String outputString =
- XMLUtils.PrettyDocumentToString(doc);
+ XMLUtils.prettyDocumentToString(doc);
LOG.debug(outputString);
}
@@ -245,7 +245,7 @@ public class ValidatorTest extends org.j
if (LOG.isDebugEnabled()) {
String outputString =
- XMLUtils.PrettyDocumentToString(signedDoc);
+ XMLUtils.prettyDocumentToString(signedDoc);
LOG.debug(outputString);
}