Configure authentication aliases to secure WebSphere Application Server connection to IBM MQ
Authentication aliases map to a user name and password combination that can be used to secure WebSphere Application Server connection to IBM MQ . We can configure a connection factory with an authentication alias.
- Use authentication aliases with enterprise applications
When an enterprise application running inside of WebSphere Application Server attempts to create a JMS connection to IBM MQ, the application looks up an IBM MQ messaging provider connection factory definition from the Java Naming Directory Interface (JNDI) repository of the application server. - Use the connection factory through a direct lookup
After an IBM MQ messaging provider connection factory has been defined, an enterprise application can look up the connection factory definition and use it to create a JMS connection to an IBM MQ queue manager. This can be done through a direct look up. - Use the connection factory through an indirect lookup
When we are writing an enterprise application, if the JNDI name of the connection factory is unknown, or if the application is to be installed onto different application servers using a different connection factory, with a different JNDI name (depending on what application server it is installed onto), then the connection factory can be looked up using a resource reference. This can be done through an indirect lookup.
Parent topic: Use IBM MQ and WebSphere Application Server together