Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 101994 Details for
Bug 233970
StandardCredentialsProvider ignores ICredentialsValidator message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch for both issues.
ShowMessageAndReaquirePatch.txt (text/plain), 2.10 KB, created by
Don Yantzi
on 2008-05-26 11:40:08 EDT
(
hide
)
Description:
Proposed patch for both issues.
Filename:
MIME Type:
Creator:
Don Yantzi
Created:
2008-05-26 11:40:08 EDT
Size:
2.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: subsystems/org/eclipse/rse/ui/subsystems/StandardCredentialsProvider.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/ui/subsystems/StandardCredentialsProvider.java,v >retrieving revision 1.21 >diff -u -r1.21 StandardCredentialsProvider.java >--- subsystems/org/eclipse/rse/ui/subsystems/StandardCredentialsProvider.java 5 May 2008 13:53:34 -0000 1.21 >+++ subsystems/org/eclipse/rse/ui/subsystems/StandardCredentialsProvider.java 26 May 2008 15:35:23 -0000 >@@ -29,7 +29,6 @@ > import org.eclipse.rse.logging.Logger; > import org.eclipse.rse.logging.LoggerFactory; > import org.eclipse.rse.services.clientserver.messages.SystemMessage; >-import org.eclipse.rse.ui.ISystemMessages; > import org.eclipse.rse.ui.RSEUIPlugin; > import org.eclipse.rse.ui.dialogs.ICredentialsValidator; > import org.eclipse.rse.ui.dialogs.ISystemPasswordPromptDialog; >@@ -205,17 +204,18 @@ > } > } > ICredentialsValidator validator = getSignonValidator(); >- boolean signonValid = true; >+// boolean signonValid = true; > if (validator != null) { > SystemMessage m = validator.validate(getCredentials()); >- signonValid = (m == null); >- if (!signonValid) { // If we ran into an invalid stored password we need to tell the user. >+// signonValid = (m == null); >+ if (m != null) { // If we ran into an invalid stored password we need to tell the user. > Shell shell = getShell(); > if (shell != null) { >- SystemMessage msg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_COMM_PWD_INVALID); >- msg.makeSubstitution(userId, getConnectorService().getHostName()); >- SystemMessageDialog dialog = new SystemMessageDialog(shell, msg); >+// SystemMessage msg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_COMM_PWD_INVALID); >+// msg.makeSubstitution(userId, getConnectorService().getHostName()); >+ SystemMessageDialog dialog = new SystemMessageDialog(shell, m); > dialog.open(); >+ reacquire = true; > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ddykstal.eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 233970
: 101994