[
https://issues.jboss.org/browse/JBIDE-25374?page=com.atlassian.jira.plugi...
]
Martin Malina commented on JBIDE-25374:
---------------------------------------
Yeah, maybe it would make more sense to only do something for credentials inside a cdk
server adapter. Because that's where currently wrong credentials are not handled well.
For example if you use wrong credentials for EAP download, then it will fail properly and
you're able to correct this. But in the case of CDK this currently doesn't work
well.
If we were to check credentials somewhere before actually starting minishift, we could use
something similar that the devsuite installer does - use the same api. TBH, I'm not
convinced if this is really something we should do. But currently I don't see any
other way how to improve the current situation. It's not likely that we'll figure
out how to show a password dialog mid-minishift startup, right?
Validate Red Hat credentials when entering them / setting up CDK
adapter
------------------------------------------------------------------------
Key: JBIDE-25374
URL:
https://issues.jboss.org/browse/JBIDE-25374
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: cdk
Affects Versions: 4.5.1.Final
Reporter: Martin Malina
Assignee: Rob Stryker
In JBIDE-25260 we were dealing with the issue that when the credentials are wrong when
starting CDK in devstudio, the user will be asked to correct them in the Console view
which brings problems.
Gerard Braad suggested that we should validate the credentials when setting them up. I
think it's actually not a bad idea. We would need to figure out when/where to do this.
Also, the credentials could still become invalid before starting CDK, but the risk would
be much lower. So it's a good question if it's worth or a good idea to do
something like this.
Cc: [~jeffmaury]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)