ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gi...@apache.org
Subject svn commit: r1299405 - in /webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss: impl/processor/input/OperationInputProcessor.java securityEvent/OperationSecurityEvent.java
Date Sun, 11 Mar 2012 17:33:13 GMT
Author: giger
Date: Sun Mar 11 17:33:13 2012
New Revision: 1299405

URL: http://svn.apache.org/viewvc?rev=1299405&view=rev
Log:
Remove unused properties from OperationSecurityEvent

Modified:
    webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/OperationInputProcessor.java
    webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/securityEvent/OperationSecurityEvent.java

Modified: webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/OperationInputProcessor.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/OperationInputProcessor.java?rev=1299405&r1=1299404&r2=1299405&view=diff
==============================================================================
--- webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/OperationInputProcessor.java
(original)
+++ webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/OperationInputProcessor.java
Sun Mar 11 17:33:13 2012
@@ -20,7 +20,6 @@ package org.swssf.wss.impl.processor.inp
 
 import org.swssf.wss.ext.WSSConstants;
 import org.swssf.wss.ext.WSSDocumentContext;
-import org.swssf.wss.ext.WSSSecurityProperties;
 import org.swssf.wss.ext.WSSecurityContext;
 import org.swssf.wss.securityEvent.OperationSecurityEvent;
 import org.swssf.xmlsec.ext.AbstractInputProcessor;
@@ -56,8 +55,6 @@ public class OperationInputProcessor ext
         if (xmlEvent.isStartElement()) {
             if (inputProcessorChain.getDocumentContext().getDocumentLevel() == 3 &&
((WSSDocumentContext) inputProcessorChain.getDocumentContext()).isInSOAPBody()) {
                 OperationSecurityEvent operationSecurityEvent = new OperationSecurityEvent();
-                operationSecurityEvent.setWsSecurityContext((WSSecurityContext) inputProcessorChain.getSecurityContext());
-                operationSecurityEvent.setWssSecurityProperties((WSSSecurityProperties) getSecurityProperties());
                 operationSecurityEvent.setOperation(xmlEvent.asStartElement().getName());
                 ((WSSecurityContext) inputProcessorChain.getSecurityContext()).registerSecurityEvent(operationSecurityEvent);
                 inputProcessorChain.removeProcessor(this);

Modified: webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/securityEvent/OperationSecurityEvent.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/securityEvent/OperationSecurityEvent.java?rev=1299405&r1=1299404&r2=1299405&view=diff
==============================================================================
--- webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/securityEvent/OperationSecurityEvent.java
(original)
+++ webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/securityEvent/OperationSecurityEvent.java
Sun Mar 11 17:33:13 2012
@@ -18,9 +18,6 @@
  */
 package org.swssf.wss.securityEvent;
 
-import org.swssf.wss.ext.WSSSecurityProperties;
-import org.swssf.wss.ext.WSSecurityContext;
-
 import javax.xml.namespace.QName;
 
 /**
@@ -30,8 +27,6 @@ import javax.xml.namespace.QName;
 public class OperationSecurityEvent extends SecurityEvent {
 
     private QName operation;
-    private WSSecurityContext wsSecurityContext;
-    private WSSSecurityProperties wssSecurityProperties;
 
     public OperationSecurityEvent() {
         super(Event.Operation);
@@ -44,20 +39,4 @@ public class OperationSecurityEvent exte
     public void setOperation(QName operation) {
         this.operation = operation;
     }
-
-    public WSSecurityContext getWsSecurityContext() {
-        return wsSecurityContext;
-    }
-
-    public void setWsSecurityContext(WSSecurityContext wsSecurityContext) {
-        this.wsSecurityContext = wsSecurityContext;
-    }
-
-    public WSSSecurityProperties getWssSecurityProperties() {
-        return wssSecurityProperties;
-    }
-
-    public void setWssSecurityProperties(WSSSecurityProperties wssSecurityProperties) {
-        this.wssSecurityProperties = wssSecurityProperties;
-    }
 }



Mime
View raw message