aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2008-06-23 10:13:09 +0000
committerYana Stamcheva <yana@jitsi.org>2008-06-23 10:13:09 +0000
commitb04e3f61cbae18446baa86cb291a5c66405a06d4 (patch)
tree009794ddbcb83b718894e10ff45da35e99555c26 /src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java
parentec05a7a407851d8994abbe087008041c7293452e (diff)
downloadjitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.zip
jitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.tar.gz
jitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.tar.bz2
New Account configuration forms.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java')
-rw-r--r--src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java b/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java
index beb937b..75eed15 100644
--- a/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java
+++ b/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccountRegistrationWizard.java
@@ -146,6 +146,9 @@ public class SSHAccountRegistrationWizard
*/
public ProtocolProviderService signin()
{
+ if (!firstWizardPage.isCommitted())
+ firstWizardPage.commitPage();
+
return signin(registration.getAccountID(), null);
}
@@ -180,6 +183,10 @@ public class SSHAccountRegistrationWizard
Hashtable accountProperties = new Hashtable();
+ accountProperties.put(
+ ProtocolProviderFactory.NO_PASSWORD_REQUIRED,
+ new Boolean(true).toString());
+
accountProperties.put(ProtocolProviderFactorySSHImpl.IDENTITY_FILE,
registration.getIdentityFile());
@@ -308,4 +315,10 @@ public class SSHAccountRegistrationWizard
{
return false;
}
+
+ public Object getSimpleForm()
+ {
+ firstWizardPage = new FirstWizardPage(registration, wizardContainer);
+ return firstWizardPage.getSimpleForm();
+ }
}