Chapter 8. Integration using WebSphere Business Integration Adapters 235
Creating J2C authentication data
A J2C authentication entry allows you to specify the user ID and password to be
used when connecting to the queue connection factory. Using the administration
console, configure the authentication entry:
1. Choose Security
→ JAAS Configuration.
2. Click the J2C Authentication Data link. Select New to create a new J2C
authentication data entry.
3. Enter the details shown in Table 8-3.
Table 8-3 J2C authentication data entry properties
User ID is the user ID that you used for the queue manager, the login user of
the machine where the queue manager is running.
4. Click OK. Remember to save the changes that you have made to the master
configuration.
Configuring the queue connection factory for authentication
Now, you set the queue manager to use container-managed authentication using
the J2C authentication alias. You also need to change the transport type from
interprocess bindings to client, because the queue manager is remote.
1. Select Resource
→ WebSphere MQ JMS Providers.
2. Click the WebSphere MQ Queue Connection Factories link.
3. Click the JDBCAdapterQCF link to edit the properties of the queue
connection factory.
4. Enter the details shown in Table 8-4.
Table 8-4 J2C connection factory remote properties
Configuration Property Name Value
Alias JDBCAdapterQCF
User ID Queue Manager User ID
Password Password for user id
Configuration Property Name Value
Container-managed Authentication Alias localhost/JDBCAdapterQCF
Mapping-Configuration Alias ClientContainer
Tran s por t Type CLIENT