Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthi Vasan2011-12-16 12:51:31 +0000
committerTomasz Zarna2011-12-16 12:51:31 +0000
commit4d359c6f870e5c11891c413250a93caaaec7f1e6 (patch)
treed015d11637a30dc176b5fc63faf71f63f0183198 /bundles/org.eclipse.team.cvs.ui/src
parentc41fe53080c07b2587def394f8d21cf56ccba8c1 (diff)
downloadeclipse.platform.team-4d359c6f870e5c11891c413250a93caaaec7f1e6.tar.gz
eclipse.platform.team-4d359c6f870e5c11891c413250a93caaaec7f1e6.tar.xz
eclipse.platform.team-4d359c6f870e5c11891c413250a93caaaec7f1e6.zip
bug 205251: CVS username disallows full kerberos names
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
index c28d9d468..dab83dbce 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -570,7 +570,8 @@ public class ConfigurationWizardMainPage extends CVSWizardPage {
if (user.length() == 0) {
return new Status(IStatus.ERROR, CVSUIPlugin.ID, REQUIRED_FIELD, CVSUIMessages.ConfigurationWizardMainPage_1, null);
}
- if ((user.indexOf('@') != -1) || (user.indexOf(':') != -1)) {
+ // removed the @ sign check since, so the UI can allow full kerberos names
+ if (user.indexOf(':') != -1) {
return new Status(IStatus.ERROR, CVSUIPlugin.ID, INVALID_FIELD_CONTENTS,
CVSUIMessages.ConfigurationWizardMainPage_invalidUserName, null);
}

Back to the top