mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
[384301] (DSTORE)Cached password revokes the user ID
This commit is contained in:
parent
d79b101de5
commit
8d54595a88
1 changed files with 5 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2002, 2011 IBM Corporation and others.
|
* Copyright (c) 2002, 2012 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -42,6 +42,7 @@
|
||||||
* David McKnight (IBM) - [313653] [dstore] Not Secured using SSL message appears twice per connect
|
* David McKnight (IBM) - [313653] [dstore] Not Secured using SSL message appears twice per connect
|
||||||
* David McKnight (IBM) - [284950] [dstore] Error binding socket on relaunch
|
* 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) - [283613] [dstore] Create a Constants File for all System Properties we support
|
||||||
|
* David McKnight (IBM) - [384301] (DSTORE)Cached password revokes the user ID
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.connectorservice.dstore;
|
package org.eclipse.rse.connectorservice.dstore;
|
||||||
|
@ -581,7 +582,7 @@ public class DStoreConnectorService extends StandardConnectorService implements
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
errorMsg = msg.getLevelTwoText();
|
errorMsg = msg.getLevelOneText();
|
||||||
}
|
}
|
||||||
connectStatus.setMessage(errorMsg);
|
connectStatus.setMessage(errorMsg);
|
||||||
}
|
}
|
||||||
|
@ -1254,10 +1255,7 @@ public class DStoreConnectorService extends StandardConnectorService implements
|
||||||
// tODO use ID or something instead of string
|
// tODO use ID or something instead of string
|
||||||
msg.getLevelOneText().startsWith(NLS.bind(ConnectorServiceResources.MSG_COMM_INVALID_LOGIN, getHostName())))
|
msg.getLevelOneText().startsWith(NLS.bind(ConnectorServiceResources.MSG_COMM_INVALID_LOGIN, getHostName())))
|
||||||
{
|
{
|
||||||
if (launchFailed)
|
clearPassword(true, true);
|
||||||
{
|
|
||||||
clearPassword(true, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
DisplaySystemMessageAction msgAction = new DisplaySystemMessageAction(msg);
|
DisplaySystemMessageAction msgAction = new DisplaySystemMessageAction(msg);
|
||||||
Display.getDefault().syncExec(msgAction);
|
Display.getDefault().syncExec(msgAction);
|
||||||
|
|
Loading…
Add table
Reference in a new issue