Security Settings
Security Introduction
ReadSoft strongly recommends that changes in security settings are performed on a test environment, which is tested thoroughly prior to production implementation.
You can change default passwords in the PROCESSIT Application, use indirect passwords, encrypt passwords in files and encrypt processit.properties. Other security features, such as custom authentication and Enabling SSL are covered in their respective topics.
You can perform all steps, or some of the steps in accordance with site security policies.
Operating system
Superuser root on linux servers
You can change the root password on the PROCESSIT server(s). This password is not required for upgrades or troubleshooting.
- Login as user root
passwd
- Follow instructions
oracle
You can change the oracle password on the PROCESSIT server(s). However it is needed for upgrades and troubleshooting and should be available for support.
- Login as user oracle.
passwd
- Follow instructions
- Change the password in processit.properties for future reference
cd <inst_root>/config ; vi processit.properties
- weblogic.server.password = <newpassword>
- bpel.server.password = <newpassword>
- db.server.password = <newpassword>
Encrypt password in EBSAdapter.xml
To encrypt the password in the EBSAdapter.xml which is used with rejections from payable interface after import.
cd /oracle/as/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/applib
Edit EbsAdapter.xml to put an exclamation mark ! in front of the clear text password in the database.pwd property value.
Clear Text Example: <property Name="database.pwd" Value="clearTextPassword"/>
Encrypted Example: <property Name="database.pwd" Value="!clearTextPassword"/>
Start PROCESSIT and "clearTextPassword" is encrypted when the file is first read, which is when an invoice is rejected in the payables interface.
<property Name="database.usr" Value="xxd4_apps"/>
<property Name="database.pwd" Value="zPvy7eFWOMHEtada/qnEUw=="/>
Delete other copies of EBSAdapter.xml on the server.
PROCESSIT Application
Encrypt URLs
You can encrypt URLs in PROCESSIT.
- Navigate to the Configuration Manager.
- Create a parameter setting for the configuration parameter Encrypt url (D4_ENCRYPT_URL_Y_N) set to Y.
- Verify that a pass-phrase is supplied in a corresponding configuration parameter setting for D4_ENCRYPT_PASSPHRASE.
Change password for SETUP user
Change the value for the configuration parameter Initial setup user password (D4_INITIAL_SETUP_USER_PASSWORD).
Be careful editing the value, as no validation check is performed.
PROCESSIT Database / Dehydration Store
Privileged user SYSTEM
You can change the password for the user SYSTEM in PROCESSIT Database. The password is not used after initial installation. Remember to also update processit.properties.
db.jdbc.sys.password = <newpassword>
Log in to PROCESSIT database as system or user that has dba privileges
alter user system identified by <newpassword>;
Database Link EBSDB
Log in to PROCESSIT database as user D4 and run these commands:
drop public database link ebsdb;
create database link EBSDB connect to XXD4_APPS identified by XXD4_APPS using 'EBSDB';
Log in to PROCESSIT database as user APPS
create database link EBSDB connect to XXD4_APPS identified by XXD4_APPS using 'EBSDB';
Privileged user D4
Database
- Log in to processit database as d4 or a user that has dba privileges
- Change password by executing this sql:
alter user d4 identified by <newpassword>;
- <newpassword> is the desired new password.
WebLogic
- Log in to the WebLogic Console
- Click on Data Sources under JDBC in the Domain Configurations section.
- Click the D4_DB_D4 data source.
- Click the Connection Pool tab
- Click Lock and Edit in the upper left of the screen to allow editing if necessary.
- Type and confirm the new password in the appropriate fields.
- Click Save.
- Click Activate Changes.
- Select the soadbDS data source.
- Repeat steps 4-8.
- Restart WebLogic
log4j.xml
To update the password in the file log4j.xml
cd /oracle/middleware/user_projects/domains/d4
vi log4j.xml
- <param name="username" value="d4"/>
- <param name="password" value="<newpassword>"/>
SOA Suite jdbc connection pools
- Log in to Application Server Control console http://<soaserver>:7777/em
- Click on oc4j_soa under the All Application Servers grouping.
- Click on the Administration tab.
- Click the Go to Task icon for JDBC Resources.
- Click the D4_DB_D4_POOL link under Connection Pools.
- Enter the new password and click Apply.
- Update processit.properties with new values for future upgrades.
- db.jdbc.d4.password = <newpassword>
- source.config.migration.d4.jdbc.password = <newpassword>
- target.config.migration.d4.jdbc.password = <newpassword>
- Update diagrpt.properties if you use PROCESSIT Diagnostics.
Privileged user APPS
- Log in to processit database as apps or user that has dba privileges.
- Change password by executing this sql:
alter user apps identified by <newpassword>;
- <newpassword> is the desired new password.
In SOA Suite jdbc connection pool
- Log in to Application Server Control console at http://<soaserver>:7777/em
- Click on oc4j_soa under the All Application Servers grouping.
- Click on the Administration tab.
- Click the Go to Task icon for JDBC Resources.
- Click the D4_DB_APPS_POOL link under Connection Pools.
- Enter the new password and click Apply.
- Update processit.properties with new values for future upgrades.
- db.jdbc.d4apps.password = <newpassword>
ORABPEL and ORAESB
Instructions are based on the oracle support note How to Change the Password for ORABPEL and ORAESB Users in SOA 10.1.3.x [ID 552400.1] oracle support forums.
PROCESSIT Database / Dehydration Store
Do not use case sensitive passwords
- alter user orabpel identified by <newpassword>
- alter user oraesb identified by <newpassword>
Backup data-sources.xml and system-jazn-data.xml
cd /oracle/as/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config
cp data-sources.xml data-sources.xml.default
cp system-jazn-data.xml system-jazn-data.xml.default
SOA Suite
- Log in to Enterprise Manager at http://<soaserver>:7777/em
- Go to the application server control page at http://<soaserver>:7777/em
- Click the link for the oc4j instance where bpel/esb has been installed. Usually oc4j_soa.
- Select the Administration tab.
- Go to Security → Security Providers
- Click the Instance Level Security button.
- Click on the Realms tab
- Click the number of users link Under the Users column.
- Find the user named pwForOrabpel or pwForOraesb in the User section.
- Click on the link to change the password to the one entered in the PROCESSIT database above. Provide the old and the new password. The password is case sensitive and must exactly match the one set in the Database.
- Click Apply. This associates the password with the pwForOrabpel value of the password attribute in the data-sources.xml file.
- Restart the SOA suite with the command
opmnctl startall
orsudo service soa stop
/sudo service soa start
- Go to the application server control page at http://<soaserver>:7777>/em
- Select Administration tab.
- Go to Services → JDBC resources
- Under the Connection Pools section locate the following connections pools:
- BPELPM_CONNECTION_POOL
- ESBPool
- ESBAQJMSPool
- Click the Test Connection button for each. Test the connection to make sure the new password is now used.
ORAWSM
ReadSoft recommends to not edit the password for ORAWSM.
Using indirect passwords in SOA SUITE jdbc Connection Pools
If you want the passwords for jdbc Connection Pools D4_DB_APPS_POOL, D4_DB_D4_POOL and D4_OEBS_APPS_POOL to be indirect, you have to do the following:
- Log in to the Application Server Control console (http://<soaserver>:7777/em
- Click on oc4j_soa under the All Application Servers Grouping
- Navigate to the tab Administration.
- Click the Go to Task icon for Security Providers
- Click Instance Level Security.
- Click Realms.
- Click the number under Heading Users
- Enter a name and password in the Database
- Click OK.
Repeat steps 8-10 for passwords for D4 in PROCESSIT database and APPS/XXD4_APPS in EBSDB.
Now update SOA Suite jdbc connection pools as above.
Type Name in use indirect password
Weblogic Administrative user weblogic
- Log in to WebLogic console http://<weblogicserver>:7001/console as weblogic
- Click on Security Realm in the Domain Structure menu on the left.
- Click on myrealm link under Realms.
- Click the Users and Groups tab.
- Click the Users tab.
- Select the weblogic user.
- Click the Passwords tab.
- Type and confirm new password.
- Click Save.
- Update boot.properties
cd /oracle/middleware/user_projects/domains/d4/servers/AdminServer/security
cp boot.properties boot.properties.default
- Modify boot.properties to have
- username=weblogic
- password=<newpassword>
Values are encrypted after the WebLogic is restarted.
Update processit.properties file with new password for future installs.
- weblogic.userId = weblogic
- weblogic.password = <newpassword>
- Update diagrpt.properties if you use PROCESSIT Diagnostics
SOA Suite Administrative user oc4jadmin
- Log in to Application Server Control console at http://<soaserver>:7777/em as oc4jadmin.
- Click on the Setup link at the top right of the page.
- Enter the old password, new password and confirm the new password.
- Click Apply.
- Log in to PROCESSIT as a user with access to Configuration Manager.
- Navigate to the Configuration Manager.
- Update the configuration parameter SOA Server Admin Account Password with the new value and click Save.
- Update processit.properties file with new password for future installs
- bpel.usr = oc4jadmin
- bpel.pwd = <newpassword>
- esb.usr = oc4jadmin
- esb.pwd = <newpassword>
processit.properties
These password properties have been changed. Make sure they are set correctly.
- weblogic.password = <newpassword>
- weblogic.server.password = <newpassword>
- bpel.server.password = <newpassword>
- db.server.password = <newpassword>
- bpel.pwd = <newpassword>
- esb.pwd = <newpassword>
- db.jdbc.d4.password = <newpassword>
- db.jdbc.d4apps.password = <newpassword>
- db.jdbc.sys.password = <newpassword>
- source.config.migration.d4.jdbc.password = <newpassword>
- target.config.migration.d4.jdbc.password = <newpassword>
Encrypt processit.properties
cd <inst_top>/config
zip -m -P [password] processit.properties.zip processit.properties
To unzip processit.properties, doing an upgrade
unzip processit.properties.zip will ask for password
Delete all other processit.properties on the Installation Server