Bug 535442 (RHQ-2137)
| Summary: | mysql plugin show password in Resource key | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | josh2268 <jresnick> |
| Component: | Plugins | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | cwelton, jresnick, jshaughn, OEM101 |
| Target Milestone: | --- | Keywords: | SubBug |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-2137 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-05 21:04:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 565628 | ||
|
Description
josh2268
2009-06-09 20:29:00 UTC
I think the only things that truly need to be incorporated in the key are address, port, and DB name. So we could either use the URL without the query string portion, e.g.: "jdbc:mysql://localhost:3306/mysql" or we could include only the bare essentials, e.g.: "localhost:3306:mysql" Comments? Not sure how everyone else would feel, but as long as I can add a username/password without the password showing in clear text I would be happy. However I kinda like the URL. thanks! The question is do we want to include the username in the key too? We would need the username as part of they key if we wanted to support inventorying the same DB multiple times in JON using different usernames for each inventoried Resource. We should also check what we do in the Oracle and Postgres plugins, as it would make sense to be consistent with them. I checked the postgres plugin and it looks like this. Resource Key: jdbc:postgresql://127.0.0.1:5432/postgres This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2137 Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug making sure we're not missing any bugs in rhq_triage I've just pushed and update to the MySQL plugin by Steve Millidge (28ae734397d49586094f973c0db81f06fc394791). From a quick look, it seems that this is no longer an issue. I just tested this again on RHQ 3.0. The password is still displayed in clear text under inventory -> overview -> "Resource Key:" Resource Key: jdbc:mysql://127.0.0.1?user=testusr&password=**** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |