ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1547477 - in /webservices/wss4j/trunk: ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
Date Tue, 03 Dec 2013 16:59:53 GMT
Author: coheigea
Date: Tue Dec  3 16:59:52 2013
New Revision: 1547477

URL: http://svn.apache.org/r1547477
Log:
Add a way to pass the message context through to the streaming code

Modified:
    webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
    webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java

Modified: webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java?rev=1547477&r1=1547476&r2=1547477&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
(original)
+++ webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
Tue Dec  3 16:59:52 2013
@@ -55,7 +55,7 @@ import org.apache.xml.security.utils.Bas
 public class RequestData {
     
     private Object msgContext;
-    private SOAPConstants soapConstants ;
+    private SOAPConstants soapConstants;
     private String actor;
     private String username ;
     private String pwType = WSConstants.PASSWORD_DIGEST; // Make this the default when no
password type is given.

Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java?rev=1547477&r1=1547476&r2=1547477&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
Tue Dec  3 16:59:52 2013
@@ -117,6 +117,7 @@ public class WSSSecurityProperties exten
     private Collection<Pattern> subjectDNPatterns = new ArrayList<Pattern>();
 
     private CallbackHandler attachmentCallbackHandler;
+    private Object msgContext;
 
     public WSSSecurityProperties() {
         super();
@@ -175,6 +176,7 @@ public class WSSSecurityProperties exten
         this.encryptSymmetricEncrytionKey = wssSecurityProperties.encryptSymmetricEncrytionKey;
         this.subjectDNPatterns = wssSecurityProperties.subjectDNPatterns;
         this.attachmentCallbackHandler = wssSecurityProperties.attachmentCallbackHandler;
+        this.msgContext = wssSecurityProperties.msgContext;
     }
 
     /**
@@ -957,4 +959,12 @@ public class WSSSecurityProperties exten
     public void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler) {
         this.attachmentCallbackHandler = attachmentCallbackHandler;
     }
+
+    public Object getMsgContext() {
+        return msgContext;
+    }
+
+    public void setMsgContext(Object msgContext) {
+        this.msgContext = msgContext;
+    }
 }



Mime
View raw message