Author: keith
Date: Sun Jan 20 04:54:15 2008
New Revision: 12539

Log:

Fixing typo



Modified:
   trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupUtils.java

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupUtils.java
==============================================================================
--- trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupUtils.java   
(original)
+++ trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupUtils.java   
Sun Jan 20 04:54:15 2008
@@ -369,7 +369,7 @@
         return serviceUiSource;
     }
 
-    public static void login(String username, String password, String 
cookieSting) throws MashupFault {
+    public static void login(String username, String password, String 
cookieString) throws MashupFault {
         try {
             ServerManager serverManager = ServerManager.getInstance();
             ConfigurationContext context = serverManager.configContext;
@@ -385,7 +385,7 @@
                     context.getContextRoot() + context.getServicePath() + 
"/MashupLoginServiceUT/login"));
             options.setUserName(username);
             options.setPassword(password);
-            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieSting);
+            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieString);
             options.setManageSession(true);
             client.setOptions(options);
             String wso2wsasHome = System.getProperty("wso2wsas.home");
@@ -402,7 +402,7 @@
         }
     }
 
-   public static String login(String ppid, String cookieSting) throws 
MashupFault {
+   public static String login(String ppid, String cookieString) throws 
MashupFault {
         try {
             ServerManager serverManager = ServerManager.getInstance();
             ConfigurationContext context = serverManager.configContext;
@@ -416,7 +416,7 @@
             options.setAction("urn:login");
             options.setTo(new EndpointReference("http://localhost:"; + 
serverManager.getHttpPort() +
                     context.getContextRoot() + context.getServicePath() + 
"/MashupLoginServiceIC/login"));
-            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieSting);
+            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieString);
             options.setManageSession(true);
             client.setOptions(options);
             String wso2wsasHome = System.getProperty("wso2wsas.home");
@@ -441,7 +441,7 @@
         }
     }
 
-    public static void logout(String cookieSting) throws MashupFault {
+    public static void logout(String cookieString) throws MashupFault {
         try {
             ServerManager serverManager = ServerManager.getInstance();
             ConfigurationContext context = serverManager.configContext;
@@ -453,7 +453,7 @@
             options.setAction("urn:logout");
             options.setTo(new EndpointReference("http://localhost:"; + 
serverManager.getHttpPort() +
                     context.getContextRoot() + context.getServicePath() + 
"/MashupAdminService/logout"));
-            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieSting);
+            options.setProperty(HTTPConstants.COOKIE_STRING, "JSESSIONID=" + 
cookieString);
             options.setManageSession(true);
             client.setOptions(options);
             client.sendRobust(null);

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

Reply via email to