You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ru...@apache.org on 2007/06/24 22:56:40 UTC

svn commit: r550282 - /webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java

Author: ruchithf
Date: Sun Jun 24 13:56:39 2007
New Revision: 550282

URL: http://svn.apache.org/viewvc?view=rev&rev=550282
Log:
Removing commented out sections

Modified:
    webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java

Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java?view=diff&rev=550282&r1=550281&r2=550282
==============================================================================
--- webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java (original)
+++ webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java Sun Jun 24 13:56:39 2007
@@ -173,22 +173,6 @@
                 }
             }
             
-//            //If the policy is already available in the service, then use it
-//            String msgPolicyKey = getMessagePolicyKey(msgCtx);
-//            if(msgCtx.getProperty(msgPolicyKey) != null) {
-//                this.servicePolicy = (Policy)msgCtx.getProperty(msgPolicyKey);
-//            } 
-//            
-//            String operationPolicyKey = getOperationPolicyKey(msgCtx);
-//            if(msgCtx.getProperty(operationPolicyKey) != null) {
-//                this.servicePolicy = (Policy)msgCtx.getProperty(operationPolicyKey);
-//            } 
-//            
-//            String svcPolicyKey = getServicePolicyKey(msgCtx);
-//            if(this.servicePolicy == null && msgCtx.getProperty(svcPolicyKey) != null) {
-//                this.servicePolicy = (Policy)msgCtx.getProperty(svcPolicyKey);
-//            }
-            
             if(msgCtx.getProperty(KEY_RAMPART_POLICY) != null) {
                 this.servicePolicy = (Policy)msgCtx.getProperty(KEY_RAMPART_POLICY);
             }
@@ -212,9 +196,6 @@
                     this.servicePolicy = PolicyEngine.getPolicy(policyElem);
                 }
 
-//                //Set the policy in the config ctx
-//                msgCtx.getConfigurationContext().setProperty(
-//                        RampartMessageData.getServicePolicyKey(msgCtx), this.servicePolicy);
             }
             
             if(this.isInitiator && this.servicePolicy != null) {