BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

IBM BAM OE V8.0.7 Create User Process

  • 1.  IBM BAM OE V8.0.7 Create User Process

    Posted 26 days ago

    I was going through the documentation of IBM BAM OE V8.0.7 to install BAM OE on one of the client network.

    https://www.ibm.com/docs/en/ibamoe/8.0.x?topic=configuring-installing-red-hat-jboss-eap#eap-users-create-proc_install-on-eap   

    point 1 we executed the command which it self creates the user.

    But once again in step number 3 , it was mentioned again Create a user. But not mentioned the script to execute. Is it ./add-user.sh?

    Once again Step Number 4 says Create User using Jboss-Cli.sh command.

    Also the text seems to be inconsistent in the documentation with multiple repeated texts.

    Procedure
    1. Extract the IBAMOE-8.0-KS8.Zip IBAMOE-8.0-KS8.Zip archive to a temporary directory. In the following examples this directory is called TEMP_DIR.

    2. Copy the TEMP_DIR/IBAMOE-8.0-KS8/kie-server.warTEMP_DIR/IBAMOE-8.0-KS8/kie-server.war directory to EAP_HOME/standalone/deployments/.

      Focus sentinel
      Warning
      Ensure the names of the IBM Business Automation Manager Open Editions deployments you copy do not conflict with your existing deployments in the Red Hat JBoss EAP instance.
      Focus sentinel
    3. Copy the contents of the TEMP_DIR/IBAMOE-8.0-KS8/IBAMOE-8.0-KS8/SecurityPolicy/TEMP_DIR/IBAMOE-8.0-KS8/IBAMOE-8.0-KS8/SecurityPolicy/ to EAP_HOME/bin.

    4. When prompted to overwrite files, click Replace.

    5. In the EAP_HOME/standalone/deployments/ directory, create an empty file named kie-server.war.dodeploy. This file ensures that KIE Server is automatically deployed when the server starts.

    Creating users

    If you used the deployable ZIP files to install IBM Business Automation Manager Open Editions, before you can log in to Business Central or KIE 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 KIE Server user that has the kie-server role. For information about roles, see IBM Business Automation Manager Open Editions roles and users.

    Focus sentinel

    Note

    IBM Business Automation Manager Open Editions stores user data as a set of properties or as a set of files. File-based storage provides several extra features, such as SSH login and a user maintenance UI.

    The user script examples in this documentation use the file-based user script, jboss-cli.sh, instead of the property-based user script, add-users.sh.

    Focus sentinel

    Prerequisites

    • IBM Business Automation Manager Open Editions is installed in the base directory of the Red Hat JBoss EAP installation (EAP_HOME).

    Focus sentinel

    Note

    When installing IBM Business Automation Manager Open Editions 8.0, user data is now stored only in files rather than properties.

    You can only create users using the file-based user script jboss-cli.sh and the procedure to change from using property based user storage is mandatory if you were previously using that method.

    Focus sentinel

    Procedure

    1. To change IBM Business Automation Manager Open Editions from using property-based user storage to file-based user storage, complete the following steps:
      1. Run the following command to apply the kie-fs-realm patch:

    $ ./bin/elytron-tool.sh filesystem-realm --users-file application-users.properties --roles-file application-roles.properties --output-location kie-fs-realm-users

      1. Open each kie-fs-realm-users/*/<USER>.xml file where <USER> is an IBM Business Automation Manager Open Editions user.
      2. Replace <attribute name="roles" value= with <attribute name="role" value=.
    1. In a terminal application, navigate to the EAP_HOME/bin directory.
    2. Create a user with the admin, rest-all, and kie-server roles that you will use to log in to Business Central.

    Focus sentinel

    Note

    Users with the admin role are Business Central administrators. Users with rest-all role can access Business Central REST capabilities. Users with the kie-server role can access KIE Server (KIE Server) REST capabilities. The kie-serverrole is mandatory for users to have access to Manage and Track views in Business Central.

    Focus sentinel

    1. Create a user with the admin, rest-all, and kie-server roles.

    Focus sentinel

    Note

    Users with the admin role are Business Central administrators. Users with rest-all role can access Business Central REST capabilities. Users with the kie-server role can access KIE Server (KIE Server) REST capabilities.

    Focus sentinel

    In the following command, replace <USERNAME> and  <PASSWORD> with the user name and password of your choice:

    $ ./bin/jboss-cli.sh --commands="embed-server --std-out=echo,/subsystem=elytron/filesystem-realm=ApplicationRealm:add-identity(identity=<USERNAME>),/subsystem=elytron/filesystem-realm=ApplicationRealm:set-password(identity=<USERNAME>, clear={password=<PASSWORD>}),/subsystem=elytron/filesystem-realm=ApplicationRealm:add-identity-attribute(identity=<USERNAME>, name=role, value=[admin,rest-all,kie-server])"

    $ ./bin/jboss-cli.sh --commands="embed-server --std-out=echo,/subsystem=elytron/filesystem-realm=ApplicationRealm:add-identity(identity=<USERNAME>),/subsystem=elytron/filesystem-realm=ApplicationRealm:set-password(identity=<USERNAME>, clear={password='<PASSWORD>'}),/subsystem=elytron/filesystem-realm=ApplicationRealm:add-identity-attribute(identity=<USERNAME>, name=role, value=[admin,rest-all,kie-server])"

    +

    Please suggest what is the correct procedure to create users in BAM OE V8.0.7.



    ------------------------------
    Venkata Ramesh Nidadavolu
    ------------------------------