Uploading groups to the database
You must upload groups to the database if you want to use the Decision Center branch security and permissions mechanisms.
About this task
Note:
It may be more convenient to use the Ant task that uploads users and groups at the same time (see Creating users and groups using Ant.)
Add all the groups that you want to see in the available list when you enforce project security or set permissions in Decision Center
To run these Ant tasks, you must use the same Java™ virtual machine version and vendor as the one used by the application server.
Note: You can also upload groups
to the database by using the Installation Settings Wizard in the Decision
Center Enterprise
console
Procedure
To store in the database the list of groups to be
used by the application, run the upload-roles Ant
task with the following parameters:
- -Dserver.url=<server url>
- -DdatasourceName=<data source name>
- -Droles=<role list>
- <role list> is the list of groups to upload to Decision Center, specified as "group1 group2".
ant upload-roles -Droles="UserGroup ConfigGroup Eligibility Validator"