CONNECTOR CREDENTIAL STORE
Steps to Create Credential Mapping
- In WebLogic, go to Deployments, expand the deployed connector ear and click on Resource Adapter module.
Fig.1 Deployed ear com.ofss.digx.app.connector, It has Resource Adapter Module com.ofss.digx.connector.rar
- Screen for Resource Adapter module’s setting will open.
Click Security->Outbound Credential Mapping. This will display Outbound Credential Mappings table
Fig.2 Shows setting for com.ofss.digx.connector.rar
- Click on New. This will display screen to create new security credential map entry. Also It shows Outbound Connection pool table. This table has Outbound Connection pool entry for each connection instance in weblogic-ra.xml in Resource Adapter along with default connection pool.
Fig.3 Shows Outbound Connection pool table. Fig 3.1 shows corresponding weblogic-ra.xml file
Fig.3.1 weblogic-ra.xml
- Select Outbound connection pool to associate the credential map. And click Next. This will show screen to select weblogic server user.
Fig 4.Weblogic server user screen
- Select Default User. Selecting 'Default User' as WebLogic Server user will configure the user that will be used as the default for any authenticated WebLogic Server user that does not have a credential mapping specifically for them.
- And click Next.
Screen to configure username and password will appear. Enter username and password. As DIGX using AES(Advanced Encryption standard) as encryption and decryption algorithm, password must be 16 digit.
Fig 5.User name and password configuration
- Click Finish. The new security credential map entry will be created.
Fig 6. Credential map entry with username as MERCHANT associated with ra/DIGXConnectorMERCHANT connection pool
- Table digx_fw_config_all_b must have entry with category_id as “CredentialConnector” and prop_value as selected Outbound Connection Pool with JNDI name as prop_id.
For example:
insert into digx_fw_config_all_b (PROP_ID, CATEGORY_ID, PROP_VALUE, FACTORY_SHIPPED_FLAG, PROP_COMMENTS,
SUMMARY_TEXT, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATED_DATE, OBJECT_STATUS,
OBJECT_VERSION_NUMBER) values ('MERCHANT_RA_JNDIKEY', 'CredentialConnector', 'ra/DIGXConnectorMERCHANT',
'N', 'RA Connector JNDI Names for OFFLINE_CHANNEL', 'RA Connector JNDI Names for MERCHANT', 'ofssuser',SYSDATE,
'ofssuser', SYSDATE, 'Y', 1);