Importing a security configuration by using the command line

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
If you exported the security configuration package file for a solution when you migrated the solution package, import the file after you deploy the solution in the target environment to apply the security settings to the solution. You can use the command line to import the security configuration package.

Before you begin

The solution that the security configurations are associated with must already be in the design object store.

About this task

You must specify a development environment or production environment profile with this command to provide information about the Content Platform Engine server that you are importing the security configurations to. You can specify the path for the security configuration package or omit the value to use the default name and path.

Procedure

To import the security configuration package:

  1. Change the current directory to the install_root/CaseManagement/configure directory, where install_root is the location where Business Automation Workflow is installed.
  2. Import the security configuration package by running the following command. Do not enter any line breaks when you enter the command.
    configmgr_cl importSolutionSecurityManifest -profile myprofile 
     -manifestPackage manifest_package_file 
     [-silent] [-force] [-help]
    -profile myprofile
    Specifies the profile to use. The myprofile value can be one of the following items:
    • The name of the profile, such as develop1. The profile is located in the install_root/CaseManagement/configure/profiles directory. install_root is the location where IBM® Business Automation Workflow is installed.
    • The full path to the profile directory, such as "install_root\CaseManagement\configure\profiles\develop1" or /install_root/CaseManagement/configure/profiles/develop1.
    • The full path to the profile input file, such as "install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp" or /install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp.
    -manifestPackage manifest_package_file
    Specifies the full path and file name of the security configuration package ZIP file. If the path includes spaces, put the entire path in double quotation marks. For example, enter "C:\Security Packages\Security1.zip".
    -silent
    Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
    -force
    Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
    -help
    Optional: Shows a brief message on the command syntax instead of running the command.