1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

[388506] [dstore] [multithread] RSEC1001error window after the expired password has been changed

This commit is contained in:
David McKnight 2012-08-31 15:28:57 +00:00
parent fcc908556b
commit 13a5c97365

View file

@ -43,6 +43,7 @@
* David McKnight (IBM) - [284950] [dstore] Error binding socket on relaunch
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
* David McKnight (IBM) - [384301] (DSTORE)Cached password revokes the user ID
* David McKnight (IBM) - [388506] [dstore] [multithread] RSEC1001error window after the expired password has been changed
*******************************************************************************/
package org.eclipse.rse.connectorservice.dstore;
@ -719,8 +720,12 @@ public class DStoreConnectorService extends StandardConnectorService implements
}
if (newCredentials != null){
info = newCredentials;
if (clientConnection != null){
clientConnection.setPort(Integer.toString(getPort())); //reset port to default
}
}
if (launchMsg != null && launchMsg.equals(IDataStoreConstants.ATTEMPT_RECONNECT)){
// need to reconnect if there are new credentials
if (newCredentials != null || (launchMsg != null && launchMsg.equals(IDataStoreConstants.ATTEMPT_RECONNECT))){
return connectWithDaemon(info, serverLauncher, alertedNONSSL, monitor);
}
}