You can configure the WebLogic security policy to allow only specific users, roles, or groups to access the queue. The following is an example a security policy configured for one user. If you need more information, refer to the WebLogic documentation.
To configure the WebLogic message queue security policy for one user:
- Launch the WebLogic Administration console.
- In the WebLogic Administration console, click Security Realms in the Domain Structure pane.
- On the Summary of Security Realms page, click the security realm you are using in the Name column under Realms.
- On the Settings page for the realm, click the Users and Groups tab and then click the Users tab.
- On the Users tab, under Users click New.
- On the Create a New User page, enter a name and password in the appropriate fields and click OK.
Note: Make a note of the name and password as they will be needed in the Configuring and Testing the WebLogic Message Queue Security topic.
- On the Settings page for the user, click the Roles and Policies tab and then click the Realm Policies tab.
- On the Realm Policies tab, under Policies expand JMS then expand the module you created for the remote server and click the queue you created for the remote server.
- On the Settings page for the queue, click the Security tab and then click the Policies tab.
- On the Policies tab:
- In the Policy Conditions section, click Add Conditions.
- Under Choose a Predicate, select User from the Predicate list and click Next.
- Under Edit Arguments:
- Enter the user name for the user you just created in the User Argument Name field and click Add. You can now use this user in P6.
- Click Finish.
- On the Settings page for the queue, click Save.
- Log in to P6 as an administrator.
- From the Administer menu, select Applications Settings.
- On the Application Settings page, click Eventing.
- Enter information in the required fields. For more information about information that is required for each field, refer to Configuring Eventing in P6.
- Change and test the Directory Services user name and password. See Configuring and Testing the WebLogic Message Queue Security.