This topic describes considerations that you should be aware of if you want to use security for asynchronous messaging with WebSphere Application Server.
Security for messaging operates as a part of the WebSphere Application Server global security, and is enabled only when global security is enabled.
When
global security is enabled, JMS connections made to the JMS provider are authenticated,
and access to JMS resources owned by the JMS provider are controlled by access authorizations. Also, all requests to create new connections to the JMS provider
must provide a user ID and password for authentication. The user ID and password do not need to be provided by the application. If authentication is successful,
then the JMS connection is created; if the authentication fails then the connection request is ended.
Standard J2C authentication is used for a request to create a new connection to the JMS provider. If your resource authentication (res-auth) is set to Application, set the alias in the Component-managed Authentication Alias. If the application that tries to create a connection to the JMS provider specifies a user ID and password, those values are used to authenticate the creation request. If the application does not specify a user ID and password, the values defined by the Component-managed Authentication Alias are used. If the connection factory is not configured with a Component-managed Authentication Alias, then you receive a runtime JMS exception when an attempt is made to connect to the JMS provider.
Restriction:
Authorization to access messages stored by the default messaging provider is controlled by authorization to access the service integration bus destinations on which the messages are stored. For information about authorizing permissions for individual bus destinations, see
Administering destination permissions.
Related concepts
The ways that applications use asynchronous messaging
WebSphere Application Server cloning and WebSphere MQ clustering
Related tasks
Learning about messaging with WebSphere Application Server