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

coheigea pushed a commit to branch 2_3_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/2_3_x-fixes by this push:
     new 3e891c106 WSS-700 - WSSecEncrypt cannot set Security Provider
3e891c106 is described below

commit 3e891c1065e48005f21ccba69122cc4744abd9d0
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Mon Jul 10 10:08:31 2023 +0100

    WSS-700 - WSSecEncrypt cannot set Security Provider
---
 .../src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java     | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java 
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
index 94d9e57b5..58a6f0950 100644
--- 
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
+++ 
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
@@ -19,6 +19,7 @@
 
 package org.apache.wss4j.dom.message;
 
+import java.security.Provider;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -89,6 +90,10 @@ public class WSSecEncrypt extends WSSecEncryptedKey {
         super(doc);
     }
 
+    public WSSecEncrypt(Document doc, Provider provider) {
+        super(doc, provider);
+    }
+
     /**
      * Initialize a WSSec Encrypt.
      *

Reply via email to