Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow raw_connect to validate the connection and decrypt the password #264

Merged
merged 1 commit into from
Jul 14, 2017

Conversation

jntullo
Copy link

@jntullo jntullo commented Jun 27, 2017

The UI is moving towards validating credentials on the queue to allow for validating credentials in separate zones utilizing the raw_connect class method, rather than needing to create a temporary EMS for validation.

For many of the providers, raw_connect ensures the credentials are correct. This updates raw_connect to not only return a connection but also be able to validate (it will not validate by default).

Because credentials are going to be stored on the queue, it also needs to be able to decrypt them. This uses MiqPassword.try_decrypt so that it can accept both unencrypted and encrypted credentials.

PR with greater detail: ManageIQ/manageiq-ui-classic#1580

@miq-bot
Copy link
Member

miq-bot commented Jun 27, 2017

Checked commit jntullo@83f4090 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@jntullo
Copy link
Author

jntullo commented Jul 7, 2017

@miq-bot assign @blomquisg

@blomquisg blomquisg merged commit f03cac0 into ManageIQ:master Jul 14, 2017
@blomquisg blomquisg added this to the Sprint 65 Ending Jul 24, 2017 milestone Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants