diff options
author | Jose <jose@zeroc.com> | 2012-11-27 19:01:19 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-11-27 19:01:19 +0100 |
commit | b5b5ab04825a5a13911109bcbc76247f87ff1e6c (patch) | |
tree | 5080960026b2bb335ad91cb4b4438ca69805e1f8 /java | |
parent | Fixed ICE-4997 - Remove JGoodies references from Solaris bindist documentation (diff) | |
download | ice-b5b5ab04825a5a13911109bcbc76247f87ff1e6c.tar.bz2 ice-b5b5ab04825a5a13911109bcbc76247f87ff1e6c.tar.xz ice-b5b5ab04825a5a13911109bcbc76247f87ff1e6c.zip |
Fixed ICE-5003 - Can't remove saved password in Saved Connection
Diffstat (limited to 'java')
-rw-r--r-- | java/src/IceGridGUI/SessionKeeper.java | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/SessionKeeper.java b/java/src/IceGridGUI/SessionKeeper.java index 4b0b387a64c..cc766c9da7b 100644 --- a/java/src/IceGridGUI/SessionKeeper.java +++ b/java/src/IceGridGUI/SessionKeeper.java @@ -2047,7 +2047,12 @@ public class SessionKeeper { inf.setPassword(_directPassword.getPassword()); inf.setStorePassword(true); - } + } + else + { + inf.setPassword(null); + inf.setStorePassword(false); + } } if(_x509CertificateYesButton.isSelected()) @@ -2058,6 +2063,11 @@ public class SessionKeeper inf.setKeyPassword(_directCertificatePassword.getPassword()); inf.setStoreKeyPassword(true); } + else + { + inf.setKeyPassword(null); + inf.setStoreKeyPassword(false); + } } if(_directDefaultEndpoints.isSelected()) @@ -2133,7 +2143,12 @@ public class SessionKeeper { inf.setPassword(_routedPassword.getPassword()); inf.setStorePassword(true); - } + } + else + { + inf.setPassword(null); + inf.setStorePassword(false); + } } if(_x509CertificateYesButton.isSelected()) @@ -2144,6 +2159,11 @@ public class SessionKeeper inf.setKeyPassword(_routedCertificatePassword.getPassword()); inf.setStoreKeyPassword(true); } + else + { + inf.setKeyPassword(null); + inf.setStoreKeyPassword(false); + } } if(_routedDefaultEndpoints.isSelected()) |