Author: adietish
Date: 2012-02-16 05:08:00 -0500 (Thu, 16 Feb 2012)
New Revision: 38809
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/CredentialsWizardPageModel.java
Log:
[JBIDE-10931] also storing/creating the user if the user is valid but has no domain
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/CredentialsWizardPageModel.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/CredentialsWizardPageModel.java 2012-02-16
10:05:46 UTC (rev 38808)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/CredentialsWizardPageModel.java 2012-02-16
10:08:00 UTC (rev 38809)
@@ -207,8 +207,8 @@
NLS.bind("The credentials for user {0} are not valid",
user.getRhlogin()));
}
} catch (NotFoundOpenShiftException e) {
+ // valid user without domain
storeUser(user);
- // valid user without domain
} catch (Exception e) {
status = OpenShiftUIActivator.createErrorStatus(NLS.bind(
"Could not check user credentials: {0}.", e.getMessage()));