[jbosstools-issues] [JBoss JIRA] (JBIDE-25374) Validate Red Hat credentials when entering them / setting up CDK adapter

Rob Stryker (JIRA) issues at jboss.org
Thu Nov 9 13:01:01 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-25374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488360#comment-13488360 ] 

Rob Stryker commented on JBIDE-25374:
-------------------------------------

I'm not entirely sure this is possible. First, not all credentials will be validatable. Remember, the credential framework is sorted into domains only really as an organizing method.  The credentials aren't used exclusively with those domains. 

Second, even if they were, there's no universal web url at every domain through which all credentials can be validated. This means the validation method would need to be customized per-domain, which would drastically reduce it's utility. 

Third, if credentials for servers that are not up yet (ie imagine an apache server on a machine in your network) simply can't be validated. 

Fourth, since we mostly just take a domain, a user, and a password (for now), we'd need to know what TYPE of credentials this is. If it's an ssh credential, it's validation method would be completely different than if it's an https credential for your IP's apache installation, or for an instance of your mysql database. As of now, we don't separate out credential types, and so we can't really know how to validate it. 

I see this as an extremely difficult task, at least to solve generically in the credentials framework itself. 

> 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)


More information about the jbosstools-issues mailing list