diff options
Diffstat (limited to 'client/trunk/src/com')
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java | 5 | ||||
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java b/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java index 5460bc4..e6e75ff 100644 --- a/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java +++ b/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java | |||
@@ -6,6 +6,7 @@ | |||
6 | package com.fourisland.instadisc.FirstRun; | 6 | package com.fourisland.instadisc.FirstRun; |
7 | 7 | ||
8 | import com.fourisland.instadisc.Database.Wrapper; | 8 | import com.fourisland.instadisc.Database.Wrapper; |
9 | import com.fourisland.instadisc.Item.MD5; | ||
9 | import com.fourisland.instadisc.XmlRpc; | 10 | import com.fourisland.instadisc.XmlRpc; |
10 | import java.net.MalformedURLException; | 11 | import java.net.MalformedURLException; |
11 | import java.net.URL; | 12 | import java.net.URL; |
@@ -168,8 +169,10 @@ public class Step2 extends javax.swing.JDialog { | |||
168 | { | 169 | { |
169 | jLabel5.setText("Error: No registration exists on the specified Central Server with the specified UN/PW combination"); | 170 | jLabel5.setText("Error: No registration exists on the specified Central Server with the specified UN/PW combination"); |
170 | } else { | 171 | } else { |
172 | MD5 md5 = new MD5(jTextField2.getText()); | ||
173 | |||
171 | Wrapper.setConfig("username", jTextField1.getText()); | 174 | Wrapper.setConfig("username", jTextField1.getText()); |
172 | Wrapper.setConfig("password", jTextField2.getText()); | 175 | Wrapper.setConfig("password", md5.hash()); |
173 | Wrapper.setConfig("centralServerURL", jTextField3.getText()); | 176 | Wrapper.setConfig("centralServerURL", jTextField3.getText()); |
174 | 177 | ||
175 | StepEndResults.ok = true; | 178 | StepEndResults.ok = true; |
diff --git a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties index 8e3b5ef..9bb23b0 100644 --- a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties +++ b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties | |||
@@ -4,8 +4,8 @@ Application.name = InstaDisc | |||
4 | Application.title = Basic Application Example | 4 | Application.title = Basic Application Example |
5 | Application.version = 1.0 | 5 | Application.version = 1.0 |
6 | Application.vendor = Sun Microsystems Inc. | 6 | Application.vendor = Sun Microsystems Inc. |
7 | Application.homepage = http\://appframework.dev.java.net/ | 7 | Application.homepage = http://appframework.dev.java.net |
8 | Application.description = A simple Java desktop application based on Swing Application Framework. | 8 | Application.description = A simple java desktop application based on Swing Application Framework |
9 | Application.vendorId = Sun | 9 | Application.vendorId = Sun |
10 | Application.id = ${Application.name} | 10 | Application.id = ${Application.name} |
11 | Application.lookAndFeel = system | 11 | Application.lookAndFeel = system |