--- title: Required JMS connection factories description: The mid.property.jms.command.allowed\_factory\_names property controls the Java Messaging Service \(JMS\) connection factories that the MID Server can use. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-required-jms-connection-factories-plugin-applicability-mid-server.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-13" reading_time_minutes: 1 breadcrumb: [Access control, Hardening settings, Platform Security] --- # Required JMS connection factories The **mid.property.jms.command.allowed\_factory\_names** property controls the Java Messaging Service \(JMS\) connection factories that the MID Server can use. This property controls the Java Messaging Service \(JMS\) connection factories that the MID Server can use. It is intended for a few select factories needed by plugins for JMS activity or action. Including additional factories could be a step in a chain of attack for vulnerabilities such as JNDI insertion that rely on capabilities an attacker can leverage in allowed factories. To prevent the possibility of any leveraged vulnerability, do not include factories beyond the necessary defaults. Review the list of names provided to the mid property **mid.property.jms.command.allowed\_factory\_names**. Ensure any additional factory names beyond the default of `connectionFactory, queueConnectionFactory, topicConnectionFactory` are necessary. See the following documentation for updating this and other mid server properties: [MID Server properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/r_MIDServerProperties.md) ## More information
Attribute Description
Configuration name **mid.property.jms.command.allowed\_factory\_names**
Configuration type System Properties \(/sys\_properties\_list.do\)
Data type string
Default value **connectionFactory**, **queueConnectionFactory**, **topicConnectionFactory**
Recommended value **connectionFactory**, **queueConnectionFactory**, **topicConnectionFactory**
Category [Access control](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-access-control.md)
Security risk - Severity score: 4.1 - CVSS score: Medium - Security risk details: Expanding the set of Java Messaging Service \(JMS\) connection factories beyond the necessary defaults introduces a significant risk because it increases the attack surface for exploitation techniques such as JNDI injection. Allowing additional factories can enable attackers to leverage insecure configurations or vulnerabilities in messaging components as part of a broader attack chain, potentially leading to remote code execution or system compromise. Restricting factories to only those required by core functionality is essential to maintain a secure posture.
Dependencies and prerequisites None
**Parent Topic:**[Access control](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-access-control.md)