5.3. Creating users
Before you can log in to Business Central or Decision Server, you must create users. This section shows you how to create a Business Central user with the admin, rest-all, and kie-server roles and a Decision Server user that has the kie-server role. For information about roles, see 2章Red Hat Decision Manager roles and users.
Prerequisites
-
Red Hat Decision Manager is installed in the base directory of the Red Hat JBoss EAP installation (
EAP_HOME).
Procedure
-
In a terminal application, navigate to the
EAP_HOME/bindirectory. Create a user with the
admin,rest-all, andkie-serverroles.注記Users with the
adminrole are Business Central administrators. Users withrest-allrole can access Business Central REST capabilities. Users with thekie-serverrole can access Decision Server (KIE Server) REST capabilities.In the following command, replace
<username>and<password>with the user name and password of your choice.$ ./add-user.sh -a --user <USERNAME> --password <PASSWORD> --role admin,rest-all,kie-server注記Make sure that the specified user name is not the same as an existing user, role, or group. For example, do not create a user with the user name
admin.The password must have at least eight characters and must contain at least one number and one non-alphanumeric character, but not & (ampersand).
Create a user with the
kie-serverrole that you will use to log in to Decision Server.$ ./add-user.sh -a --user <USERNAME> --password <PASSWORD> --role kie-serverMake a note of your user names and passwords.
注記If you installed Business Central and Decision Server in the same server instance, you can create a single user that has both of these roles:
$ ./add-user.sh -a --user <USERNAME> --password <PASSWORD> --role admin,rest-all,kie-serverYou should install Business Central and Decision Server on different servers in production environments.