airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1229346 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java
Date Mon, 09 Jan 2012 21:00:52 GMT
Author: lahiru
Date: Mon Jan  9 21:00:52 2012
New Revision: 1229346

URL: http://svn.apache.org/viewvc?rev=1229346&view=rev
Log:
changing workflowinterpreter service to read gsi credentials from properties file.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java?rev=1229346&r1=1229345&r2=1229346&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorMessageReceiverInOut.java
Mon Jan  9 21:00:52 2012
@@ -22,6 +22,8 @@ package org.apache.airavata.xbaya.interp
 
 
 public class WorkflowInterpretorMessageReceiverInOut extends org.apache.axis2.receivers.AbstractInOutMessageReceiver{
+    public static final String MYPROXY_USER = "myproxy.user";
+    public static final String MYPROXY_PASS = "myproxy.password";
      public void invokeBusinessLogic(org.apache.axis2.context.MessageContext msgContext,
org.apache.axis2.context.MessageContext newMsgContext)
         throws org.apache.axis2.AxisFault{
 
@@ -62,9 +64,9 @@ public class WorkflowInterpretorMessageR
                                 ,
                                 getTopic(wrappedParam)
                                 ,
-                                getPassword(wrappedParam)
+                                (String) msgContext.getConfigurationContext().getProperty(MYPROXY_PASS)
                                 ,
-                                getUsername(wrappedParam)
+                                (String) msgContext.getConfigurationContext().getProperty(MYPROXY_USER)
                                 ,
                                 getInputs(wrappedParam)
                                 ,



Mime
View raw message