The JMS connection factories are obtained using JNDI. A JMS connection can be created from the connection factory either with a user name and password, or with no parameters.
Note that in both cases no logon is performed, only JMS permission checks are done for the respective user.
Communication Protocol
The JMS Provider communication uses a SAP-proprietary binary protocol on top of P4 as the transport layer. The JMS provider does not offer its own encryption on the JMS communication, but the P4 transport can be configured to run over SSL.
Data Storage
Configuration data and user data (messages) are stored in the database and underlie the database protection mechanisms.