Purpose
Migrates changes made to console users and groups in the admin-authz.xml file into the Tivoli Access Manager object space.
Syntax
migrateEAR -profileName default -j profile_root/config/cells/cellName/admin-authz.xml -a sec_master -p password -w wsadmin -d o=ibm,c=us -c file:profile_root/etc/pd/PdPerm.properties
Note the following on iSeries (OS/400):
Parameters
This parameter is optional. When the parameter is not specified, you are prompted to supply it at run time.
file:profile_root/etc/pd/PdPerm.properties
file:/opt/IBM/WebSphere/AppServer/java/jre/PdPerm.properties
file:/usr/IBM/WebSphere/AppServer/java/jre/PdPerm.properties
file:/"C:\Program Files\IBM\WebSphere\AppServer\java\jre\PdPerm.properties"
Windows platforms require that the domain suffix is enclosed within quotes.
You can use the pdadmin user show command to display the distinguished name (DN) for a user.
profile_root/config/cells/cellName/admin-authz.xml
file:/opt/IBM/WebSphere/AppServer/profiles/profile_name/config/cells/cell_name/admin-authz.xml
file:/usr/IBM/WebSphere/AppServer/profiles/profile_name/config/cells/cellName/admin-authz.xml
"c:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\config\cells\cell_name\admin-authz.xml"
When this parameter is not specified, the user is prompted to supply the password for the administrative user name.
The default value for the root object space is WebAppServer.
Set the Tivoli Access Manager root object space name by modifying the amwas.amjacc.template.properties file prior to configuring the Java Authorization Contract for Control (JACC) provider for Tivoli Access Manager for the first time. Use this option if the default object space value is not used in the configuration of the Tivoli Access Manager JACC provider for Tivoli Access Manager.
Do not change the Tivoli Access Manager object space name after the Tivoli Access Manager JACC provider has been configured.
The default is 60 minutes. The minimum is 10 minutes. The maximum value cannot exceed the Tivoli Access Manager ssl-v3-timeout value. The default value for ssl-v3-timeout is 120 minutes.
If you are not familiar with the administration of this value, you can safely use the default value.
When the WebSphere Application Server administrative user does not already exist in the protected object space, it is created or imported. In this case, a random password is generated for the user and the account is set to not valid. Change this password to a known value and set the account to valid. A protected object and access control list (ACL) are created. The administrative user is added to the pdwas-admin group with the following ACL attributes:
Comments
This utility migrates security policy information from deployment descriptors enterprise archive files to Tivoli Access Manager for WebSphere Application Server. The script calls the com.tivoli.pdwas.migrate.Migrate Java class.
Before invoking the script run the setupCmdLine script from the Qshell command line. This file can be found in the install_root/bin directory, where install_root is your installation path. In the default installation, install_root is /QIBM/ProdData/WebSphere/AppServer/V6/edition. This can be found in the %WAS_HOME%/bin directory. The script is dependent on finding the correct environment variables for the location of prerequisite software. The script calls Java code with the following options:
Both the -j option and the -c option can reference the %WAS_HOME% variable to determine where WebSphere Application Server is installed. This information is used to:
Return codes
The utility can return the following exit status codes:
Related tasks
Authorizing access to administrator roles
Propagating administrative role changes to Tivoli Access Manager