Author: keith
Date: Tue Apr 29 01:00:40 2008
New Revision: 16313

Log:

Fixing this to pic username and password properties


Modified:
   
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java

Modified: 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
==============================================================================
--- 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
      (original)
+++ 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
      Tue Apr 29 01:00:40 2008
@@ -273,6 +273,18 @@
                 useWSS = useWSSObject.toString();
             }
 
+            Object usernameObject = optionsArray.get("username", optionsArray);
+            if (usernameObject != null && !(usernameObject instanceof 
Undefined)
+                    && !(usernameObject instanceof UniqueTag)) {
+                username = usernameObject.toString();
+            }
+
+            Object passwordObject = optionsArray.get("password", optionsArray);
+            if (passwordObject != null && !(passwordObject instanceof 
Undefined)
+                    && !(passwordObject instanceof UniqueTag)) {
+                passwd = passwordObject.toString();
+            }
+
             Object actionObject = optionsArray.get("action", optionsArray);
             if (actionObject != null && !(actionObject instanceof Undefined)
                     && !(actionObject instanceof UniqueTag)) {

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to