| Summary: | Installer: correction of users credentials and selecting use.same.password=true problem | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Jan Stastny <jstastny> |
| Component: | Installer | Assignee: | Thomas Hauser <thauser> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Stastny <jstastny> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.3.0 | CC: | mbaluch, vhalbert |
| Target Milestone: | ER3 | ||
| Target Release: | 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-24 11:44:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Stastny
2016-03-04 11:02:37 UTC
Reproduced. Passwords are still used even when the user has chosen to use one password. Fixed for ER2. This problem was fixed only for GUI installer, not console even though reported for both. If user installs server through console installer, wrong install script gets generated. 1. Start console installer 2. Navigate to the users credentials page 3. Don't check use same password 4. Provide some password to each user 5. While prompted '3 to redisplay' select '3' 6. Check use same password 7. Insert the admin's password (I used different than any other password before) 8. Insert other required fields (no other passwords are prompted for) 9. Finish the installer using defaults 10. Generate the install script 11. Try to install via the install script and in variables, or variableFile provide only password for admin user (that's the only the installer required) 12. Auto install will hang on prompt for Dashboard admin password. The problem is caused by multiple <entry autoPrompt="true" ...> elements in resulting auto.xml script (only one autoPrompt should be here - for adminPassword): <com.izforge.izpack.panels.UserInputPanel id="security"> <userInput> <entry key="use.same.password" value="true"/> <entry key="adminUser" value="admin"/> <entry autoPrompt="true" key="adminPassword"/> <entry key="Dashboard.admin.username" value="dashboardAdmin"/> <entry autoPrompt="true" key="Dashboard.admin.password"/> <entry key="Teiid.user.username" value="teiidUser"/> <entry autoPrompt="true" key="Teiid.user.password"/> <entry key="Teiid.user.odata" value=""/> <entry key="Teiid.user.logging" value=""/> <entry key="Modeshape.user" value="modeshapeUser"/> <entry autoPrompt="true" key="Modeshape.password"/> </userInput> </com.izforge.izpack.panels.UserInputPanel> This was actually two separate problems. 1) Problems in the installation library Console code that was not correctly keeping track of which data should be written to auto.xml. This results in the problem experienced in the latest comment even with the fix for the other issue below 2) Master password setting code not always doing the correct thing when encountering a password with an already existing value. With both of these corrected, auto.xml from console / gui are equivalent, and the original issue of having the incorrect password used for each user is also fixed. Issue 1) actually also affected the Advanced Configuration panel in a similar manner (select advanced options, redo the panel and select default, advanced config options chosen still appear in the auto.xml). The implemented fix addresses this as well. |