1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

Apply patch for bug 150127 - read saved password when dialog is forced

This commit is contained in:
Martin Oberhuber 2006-07-18 11:32:24 +00:00
parent 6e04109109
commit 941fff5c36

View file

@ -443,7 +443,7 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
} }
// Check the saved passwords if we still haven't found a good password. // Check the saved passwords if we still haven't found a good password.
if (passwordInformation == null && userId != null && !forcePrompt) { if (passwordInformation == null && userId != null) {
SystemSignonInformation savedPasswordInformation = ppm.find(hostType, hostName, userId); SystemSignonInformation savedPasswordInformation = ppm.find(hostType, hostName, userId);
if (savedPasswordInformation != null) { if (savedPasswordInformation != null) {
if (validator == null || validator.isValid(shell, savedPasswordInformation)) { if (validator == null || validator.isValid(shell, savedPasswordInformation)) {