Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance > ConfigureWorkspaceComponent
ANT target: CreatePublishJaasAuthData
CreatePublishJaasAuthData creates the JAAS Authentication Data to be used for the Commerce data source. The JAAS Authentication Data object contains the Commerce database user ID and password.
Called by:
Prerequisites:
The createInstance.properties file must exist for this ANT target to work. For information about generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WCS instance with which you are working (for example, demo).
- cmDBUserPwd
- The authoring server's workspace database user password.
Example
- WC_INSTALL/bin/config_ant.sh -buildfile WC_INSTALL/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance -DcmDBUserPwd=cmDBUserPwd CreatePublishJaasAuthData
- WC_INSTALL/bin/config_ant.bat -buildfile WC_INSTALL/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance -DcmDBUserPwd=cmDBUserPwd CreatePublishJaasAuthData
Related concepts