Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1064985

Summary: Add the ability to setup user for teiid, modeshape and dashbuilder at install time
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Van Halbert <vhalbert>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Len DiMaggio <ldimaggi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, dlesage, jstastny, thauser, vhalbert
Target Milestone: ER2Keywords: QA-Closed
Target Release: 6.1.0Flags: mtjandra: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 08:51:09 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Administrative Teiid
none
Unpreviliged Teiid
none
Modeshape User none

Comment 2 Miles Tjandrawidjaja 2014-02-13 19:57:17 UTC
With the following crendentials entered by the user:

Teiid Administration
--------------------
Username: adminTeiid
Password: adminTeiid0-

Teiid Normal User
--------------------
Username: userTeiid
Passowrd: userTeiid0-

Modeshape User
--------------------
Username: adminModeshape
Passowrd: adminModeshape0-

The teiid-security-users.properties file in standalone and domain both get the following text appended:
---------------------------
adminTeiid=adminTeiid0-
adminTeiid=admin
userTeiid=adminTeiid0-
userTeiid=user

The modeshape-users.properties file in stnadalone and domain both get the following text appended:
---------------------------
adminModeshape=adminModeshape0-
adminModeshape=admin,connect

Since VDB entitlements are not enabled out of the box, there is no need to provide explicit role options to the user during the installation process.

Let me know if this is correct.
Also let me know what description/text should be displayed for the new panels.

Comment 3 Miles Tjandrawidjaja 2014-02-18 14:37:58 UTC
Created attachment 864588 [details]
Administrative Teiid

Comment 4 Miles Tjandrawidjaja 2014-02-18 14:38:21 UTC
Created attachment 864589 [details]
Unpreviliged Teiid

Comment 5 Miles Tjandrawidjaja 2014-02-18 14:38:46 UTC
Created attachment 864590 [details]
Modeshape User

Comment 6 Van Halbert 2014-02-28 19:51:38 UTC
After testing jboss-dv-installer-6.0.0.GA-redhat-5-20140228.164226-2.jar, I see the follow issue:

The modeshape roles were placed in the users file, instead of the roles file.


Also, can we add an option on the Teiid User panel, like a checkbox, that indicates to enable 'OData' access.  Which would add the "odata" role to the user's role that's already being setup.   Example: teiidUser=user,odata

Comment 7 Van Halbert 2014-02-28 20:21:20 UTC
Regarding what's stated on the installation panels,

-  1st create Teiid User panel

This is really for creating Teiid Admin User (as the default username indicates)

change 

- Create Teiid User  --->   Create Teiid Admin User
- Enter credentials for Teiid user -->  Enter credentials for Teiid Admin user
- Teiid username  -->   Teiid Admin username
- Teiid password  -->   Teiid Admin password


-  2nd create Teiid.norm User panel

This is for the users who will be access data

suggested change:

Teiid.norm  --->  Teiid Data Access  (in all places)

if not that, then just remove ".norm"


-  3rd panel for creating ModeShape user

Can we add some info to indicate this user account is being created for the ModeShape datasource that is setup to accessed by the ModeShape.vdb?

Comment 8 Van Halbert 2014-02-28 20:24:33 UTC
Just noticed, the Teiid user password is not being saved.  It appears the Teiid admin password is being stored in its placed.  Example:

teiidAdmin=teiidAdmin_12
teiidUser=teiidAdmin_12


teiidUser password should have been teiidUser_24

Comment 9 Miles Tjandrawidjaja 2014-03-03 19:34:47 UTC
Modeshape users and roles are now split by modeshape-users.properties and modeshape-roles.properties file respectivley.

Teiid users and roles are now split by teiid-security-users.properties and teiid-security-roles.properties file respectivley.

Teiid Data Access user now has a checkbox for the user to decide if this account should have the odata role.

Strings for the Teiid panels have been fixed, a line has been added to the description of the Modeshape panel to indicate user is being created for the 
ModeShape datasource that is setup to be accessed by the ModeShape.vdb.

Passwords for teiidUser is now fixed, correct password should be saved.

Comment 10 JBoss JIRA Server 2014-05-30 19:45:28 UTC
Thomas Hauser <thauser> updated the status of jira JBDVPL-4 to Resolved

Comment 11 JBoss JIRA Server 2014-05-30 20:06:01 UTC
Thomas Hauser <thauser> updated the status of jira JBDVPL-5 to Resolved

Comment 12 JBoss JIRA Server 2014-05-30 20:35:36 UTC
Thomas Hauser <thauser> updated the status of jira JBDVPL-3 to Resolved

Comment 13 JBoss JIRA Server 2015-04-07 19:13:07 UTC
Van Halbert <vhalbert> updated the status of jira JBDVPL-3 to Closed

Comment 14 JBoss JIRA Server 2015-04-07 19:13:37 UTC
Van Halbert <vhalbert> updated the status of jira JBDVPL-4 to Closed

Comment 15 JBoss JIRA Server 2015-04-07 19:13:51 UTC
Van Halbert <vhalbert> updated the status of jira JBDVPL-5 to Closed