Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Command Line Utilities : ImportDomainSecurity

ImportDomainSecurity
Command
ImportDomainSecurity -domain domain [-noUsers | -noRoles] [-noACLs] [-overwrite] [-encryptKey key] ((-user user -pw password) | -cred cred) -file file
Purpose
This command imports domain security information from an XML file. The file is created using the ExportDomainSecurity command.
The ExportDomainSecurity and ImportDomainSecurity commands are designed for data loading (for example, batch loading users into a domain), synchronizing user and role data between domains, and backing up domain data.
You can use this command to load user, role and access control information from another source. The XML file you create must conform to the DomainSecurity.xsd file. The DomainSecurity.xsd file is located in the TRA_HOME\template\domainutility\cmdline directory.
Only valid XML characters can be used in user names, role names and properties.
Data exported from a domain integrated with an LDAP directory server can only be imported into another LDAP based domain. Similarly, data exported from a non-LDAP domain can only be imported into a non-LDAP domain.
An export file that contains circular role hierarchies is not supported. See the ExportDomainSecurity command for more information.
 
–pw password
-cred cred
Name and path to a property file that contains the user name and encrypted password. Use the obfuscate utility to encrypt the password. The utility is documented in the TIBCO Runtime Agent Installation guide. For example, the property file could contain this entry after running the utility:
Example
 
importDomainSecurity -domain tp0513 -user admin -pw admin -file \tibco\export.xml
Location
TIBCO_TRA_DO_HOME\bin

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved