Application Delivery Management
Application Modernization & Connectivity
CyberRes by OpenText
IT Operations Management
idmapproval://settings/?userid=&passwordInKeychain=&host=123.112.20.109&port=8180&
rbpmContext=IDMProv&userContainer=ou=users,o=data&timeout=5&vdxUserEntity=user&vdxNameFormatAttribute=
FirstName LastName&vdxFirstNameAttribute=FirstName&vdxLastNameAttribute=LastName&
vdxPhotoAttribute=UserPhoto&vdxPhotoAttributeLdap=photo&vdxPhoneAttribute=TelephoneNumber&
vdxMobileAttribute=mobile&vdxEmailAttribute=Email&namingAttribute=cn&
provAdminGetTasksWorkaroundInPlace=YES
1. Stop the server
2. Create a backup of the existing IDMProv.war file.
3. Open the IDMProv.war file.
4. In IDMProv.war, open the file WEB-INF/lib/IDMfw.jar.
5. In IDMfw.jar, change the following configuration file properties to the specified values:
Configuration File - Property - Value
WorkflowService-conf/config.xml - WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly - false
WorkflowService-conf/config.xml - WorkflowService/soap/addComment - false
WorkflowService-conf/config.xml - WorkflowService/soap/getComments - false
VirtualDataService-conf/config.xml - VirtualDataService/soap - false
6. Save and close all files.
7. Restart the server.
#!/bin/bash
cd ~ || cd '/tmp';
#Get a passed-in provisioning directory from the user, if specified.
if -z ${1}; then
idmprovdir_path='/opt/netiq/idm/apps/tomcat/webapps/idmprov';
else
idmprovdir_path=${1};
fi
#Also set a variable for the WAR itself.
idmprovwar_path="${idmprovdir_path}.war";
#Verify the file is there and can be read. If not, exit with a message stating as much.
if ! -r ${idmprovwar_path}; then
echo 'Unable to read the specified file; please be sure it exists and your user has read, if not read and write, rights.';
exit 1;
fi
#Make a backup of the WAR automatically.
cp -a "${idmprovwar_path}" ./idmprov.war.orig-`date %s`;
#And the copy we'll extract; duplicated from the original so that we can use the freshen feature of the 'zip' command.
cp "${idmprovwar_path}" ./idmprov.war;
#Create somewhere to do the work
mkdir 'idmprov-mobile-enabling';
pushd 'idmprov-mobile-enabling';
#Extract, extract, extract
unzip "${idmprovwar_path}";
pushd 'WEB-INF/lib';
mkdir 'idmfw';
pushd 'idmfw';
unzip '../IDMfw.jar';
#cp WorkflowService-conf/config.xml WorkflowService-conf/config.xml-orig;
#The actual changes happen here in two quick commands.
sed -i -e 's#WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly:true#WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly:false#' -e 's#WorkflowService/soap/getComments:true#WorkflowService/soap/getComments:false#' -e 's#WorkflowService/soap/addComment:true#WorkflowService/soap/addComment:false#' 'WorkflowService-conf/config.xml';
sed -i -e 's#VirtualDataService/soap:true#VirtualDataService/soap:false#' 'VirtualDataService-conf/config.xml';
#Changes done, let's go ahead and freshen the zip with the changed files. Nice and quick...
zip -r -f '../IDMfw.jar' *;
popd;
popd;
zip -r -f '../idmprov.war' *;
popd;
rm -rf 'idmprov-mobile-enabling';
#Put the WAR back over the old one, replacing it, and warn if that fails.
cp './idmprov.war' "${idmprovwar_path}";
if 0 = $?; then
echo 'Copying the file back over the original failed. Please copy over the original before restarting the application service.';
else
echo 'Original file replaced with the updated version. Start the application service and the changes should be complete.';
fi
chmod x enable-mobile-approvals.sh
./enable-mobile-approvals.sh /opt/novel/idm/jboss/server/IDMProv
sed -i -e 's#WorkflowService/soap/addComment = true#WorkflowService/soap/addComment = false#' -e 's#WorkflowService/soap/getComments = true#WorkflowService/soap/getComments = false#' -e 's#WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly = true#WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly = false#' -e 's#VirtualDataService/soap = true#VirtualDataService/soap = false#' /opt/netiq/idm/apps/tomcat/conf/ism-configuration.properties
270c270
< WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly = true
---
> WorkflowService/SOAP-End-Points-Accessible-By-ProvisioningAdminOnly = false
282,283c282,283
< WorkflowService/soap/getComments = true
< WorkflowService/soap/addComment = true
---
> WorkflowService/soap/getComments = false
> WorkflowService/soap/addComment = false
374c374
< VirtualDataService/soap = true
---
> VirtualDataService/soap = false