The acpextract utility extracts the access control policy and access group information in the database and generates files that capture the information in XML format. It uses an input filter XML file to specify the data to extract from the database.
Notes:
- This utility generates an acpextract.log file in the WC_installdir/logs directory, for any processing errors that might have occurred.
Parameter values
- database
- (Required) Name of the database from which to extract the policy and access group information.
- database_user
- (Required) Name of the database user who can connect to the database.
- database_user_password
- (Required) The associated password for the database user.
- input_filename
- (Required) The input filter XML file that specifies what data to extract from the database.
- ACPoliciesfilter.xml
- This file is used to extract all access group and policy data.
- ACUserGroupsFilter.xml
- This file is used to extract all access group data.
- OrganizationPoliciesFilter.xml
- This file is used to extract all access group and policy data for a particular organization. Before using this file, you should edit this file to specify the required organization ID. The policy data owned by this organization ID will be extracted
- .
- schema_name
- (Optional) The name of target database schema. This name is normally the same as database_user.
Example
From the WC_installdir/bin, run:
./acpextract.sh mall dbuser dbusrpwd ACPoliciesfilter.xml
acpextract.cmd mall dbuser dbusrpwd ACPoliciesfilter.xml
The following files are created:
- ExtractedACPolicies.xml
- This file contains data extracted by the Extract command for the given filter criteria.
- ExtractedACPolicies.dtd
- The DTD for the ExtractedACPolicies.xml file.
- AccessControlUserGroups.xml
- The file containing the access group definitions.
- AccessControlPolicies.xml
- The file containing the language-independent access control policy information.
- AccessControlPolicies_locale.xml
- The language-dependent access control policies file that contains the display names and descriptions.