| Summary: | Feature Request - CVS component to support Active Directory user name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Keerthi Vasan <magic_king4u> | ||||
| Component: | CVS | Assignee: | platform-cvs-inbox <platform-cvs-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Keerthi Vasan
Created attachment 204399 [details]
ConfigurationWizardMainPage.java
The code has been modified not to check the @ sign for user name:
The following if statment of the validateUserName method has been modified
if ((user.indexOf('@') != -1) || (user.indexOf(':') != -1)) {
return new Status(IStatus.ERROR, CVSUIPlugin.ID, INVALID_FIELD_CONTENTS,
CVSUIMessages.ConfigurationWizardMainPage_invalidUserName, null);
}
to this (removed the check (user.indexOf('@') != -1)
if (user.indexOf(':') != -1) {
return new Status(IStatus.ERROR, CVSUIPlugin.ID, INVALID_FIELD_CONTENTS,
CVSUIMessages.ConfigurationWizardMainPage_invalidUserName, null);
}
Please let us know if this patch can be implemented to the future releases .
This is not an exact duplicate of bug 205251, but both of them complain about the check for "@" in CVS user name. Fixing one of them will fix both. Magic, could please create a patch from what you suggested in comment 1 and submit it on bug 205251. *** This bug has been marked as a duplicate of bug 205251 *** |