Updated the Java Web Interface to allow passwords. If a user has no password
[spider.git] / spider-web / spiderclient.java
index 51ddf9056cb8775cd57a08a24b1e0a72d29dba38..d47fa93164a51fee6d8ff7441ff520434885913a 100755 (executable)
@@ -15,6 +15,9 @@ public class spiderclient extends Applet {
                p = getParameter("CALL");
                if (p != null) cf.setCall(p);
                
+        p = getParameter("PASSWORD");
+        if (p != null) cf.setPassword(p);
+        
                p = getParameter("FULLNAME");
                if (p != null) cf.setFullname(p);
 
@@ -44,7 +47,12 @@ public class spiderclient extends Applet {
                        listener = new StreamListener(cf, in);
                        
                        out.println(cf.getCall());
-                       out.println(cf.getFullname());
+
+                       if(cf.getPassword().length() > 0) {
+                out.println(cf.getPassword());
+            }
+
+                       // out.println(cf.getFullname());
                }
                catch (IOException e) { 
                        InfoDialog id = new InfoDialog(cf, "Error", e.toString());