summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-01 11:33:58 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-01 11:33:58 +0000
commit0afd30fc8ae5234c2015a7eb7d742b2a8869651a (patch)
tree7c9fbc3fea75649e06f5e0c4224b740b6582fc43 /sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src
parent4efdbd4951fceb6e04fa22b850b5ccdbbe2afca0 (diff)
A couple of comments to remind me where policy things go
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@905259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2EngineIntegration.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2EngineIntegration.java b/sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2EngineIntegration.java
index 8cd963f4ca..790b8083b7 100644
--- a/sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2EngineIntegration.java
+++ b/sca-java-2.x/trunk/modules/binding-ws-axis2-15-runtime/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2EngineIntegration.java
@@ -168,7 +168,6 @@ public class Axis2EngineIntegration {
this.modelFactories = modelFactories;
this.assemblyFactory = (RuntimeAssemblyFactory)modelFactories.getFactory(AssemblyFactory.class);
- final boolean isRampartRequired = AxisPolicyHelper.isRampartRequired(wsBinding);
// get the axis configuration context from the Tuscany axis2.xml file
// TODO - java security
@@ -197,7 +196,18 @@ public class Axis2EngineIntegration {
// MTOM
// JMS
// Security (turn rampart on)
- // Enable MTOM if the policy intent is specified.
+ final boolean isRampartRequired = true; //AxisPolicyHelper.isRampartRequired(wsBinding);
+
+ if (isRampartRequired){
+ // TODO - do we need to go back to configurator?
+ }
+
+ final boolean isJMSRequired = false;
+
+ if (isJMSRequired){
+ // TODO - do we need to o go back to configurator?
+ }
+
if (AxisPolicyHelper.isIntentRequired(wsBinding, AxisPolicyHelper.MTOM_INTENT)) {
configContext.getAxisConfiguration().getParameter(Configuration.ENABLE_MTOM).setLocked(false);
configContext.getAxisConfiguration().getParameter(Configuration.ENABLE_MTOM).setValue("true");