This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch coheigea/saml-refactor-new
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/coheigea/saml-refactor-new by 
this push:
     new 53a422e5f Fixing build
53a422e5f is described below

commit 53a422e5f4af2cfcc14092a95393a6f9498888bc
Author: Colm O hEigeartaigh <cohei...@apache.org>
AuthorDate: Tue Jun 17 04:05:54 2025 +0100

    Fixing build
---
 .../src/test/java/org/apache/wss4j/stax/test/AbstractTestBase.java  | 6 +++---
 .../src/test/java/org/apache/wss4j/stax/test/XOPAttachmentTest.java | 4 ++--
 .../java/org/apache/wss4j/stax/test/saml/SamlTokenDerivedTest.java  | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AbstractTestBase.java
 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AbstractTestBase.java
index 48f5b875d..079a07286 100644
--- 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AbstractTestBase.java
+++ 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AbstractTestBase.java
@@ -465,8 +465,8 @@ public abstract class AbstractTestBase {
             /*
              * Check if it's a fault. Don't process faults.
              */
-            org.apache.wss4j.dom.SOAPConstants soapConstants =
-                    WSSecurityUtil.getSOAPConstants(doc.getDocumentElement());
+            org.apache.wss4j.common.SOAPConstants soapConstants =
+                    
org.apache.wss4j.common.util.XMLUtils.getSOAPConstants(doc.getDocumentElement());
             if (XMLUtils.findElement(
                 doc.getDocumentElement(), "Fault", 
soapConstants.getEnvelopeURI()) != null
             ) {
@@ -699,4 +699,4 @@ public abstract class AbstractTestBase {
         }
         return 0.0d;
     }
-}
\ No newline at end of file
+}
diff --git 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/XOPAttachmentTest.java
 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/XOPAttachmentTest.java
index a599924f9..7cc07ea59 100644
--- 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/XOPAttachmentTest.java
+++ 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/XOPAttachmentTest.java
@@ -172,7 +172,7 @@ public class XOPAttachmentTest extends AbstractTestBase {
         // Remove EncryptedData structure from the security header (which 
encrypted the attachment
         // in the first place)
         Element securityHeader =
-            WSSecurityUtil.findWsseSecurityHeaderBlock(encryptedDoc, 
encryptedDoc.getDocumentElement(), false);
+            
org.apache.wss4j.common.util.XMLUtils.findWsseSecurityHeaderBlock(encryptedDoc, 
encryptedDoc.getDocumentElement(), false);
         Element encryptedAttachmentData =
             XMLUtils.getDirectChildElement(securityHeader, "EncryptedData", 
WSConstants.ENC_NS);
         assertNotNull(encryptedAttachmentData);
@@ -202,4 +202,4 @@ public class XOPAttachmentTest extends AbstractTestBase {
         return encryptedAttachments;
     }
 
-}
\ No newline at end of file
+}
diff --git 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/saml/SamlTokenDerivedTest.java
 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/saml/SamlTokenDerivedTest.java
index 49acedf42..c9dd225df 100644
--- 
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/saml/SamlTokenDerivedTest.java
+++ 
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/saml/SamlTokenDerivedTest.java
@@ -189,7 +189,7 @@ public class SamlTokenDerivedTest extends AbstractTestBase {
         sigBuilder.setStrElem(secToken.getElement());
         sigBuilder.setSignatureAlgorithm(WSConstants.HMAC_SHA1);
 
-        String soapNamespace = 
WSSecurityUtil.getSOAPNamespace(doc.getDocumentElement());
+        String soapNamespace = 
org.apache.wss4j.common.util.XMLUtils.getSOAPNamespace(doc.getDocumentElement());
         WSEncryptionPart encP =
                 new WSEncryptionPart(
                         WSConstants.ELEM_BODY,
@@ -205,4 +205,4 @@ public class SamlTokenDerivedTest extends AbstractTestBase {
 
         return sigBuilder;
     }
-}
\ No newline at end of file
+}

Reply via email to