4.4.1 Upgrade Notes
Improvements and new features included in Mirth® Connect version 4.4.1.
XStream Now Uses an Allowlist Instead of a Denylist
XStream is changed to use an allowlist instead of a denylist. This means that only a strict list of types are allowed to be serialized or deserialized in Mirth® Connect. This will likely have no effect on your Mirth® Connect installation. However, if you have custom channel implementations that happen to serialize or deserialize types that are not allowed by default, you may encounter
ForbiddenClassException
errors or something similar. To fix this problem, you'll need to allow those specific types by adding one or both of the following properties to your mirth.properties
file:
xstream.allowtypes
- A comma-separated list of fully-qualified classes to allow. These classes can include wildcards. Example values arecom.my.package.MyClass
,com.my.package.MyClass$MyInnerClass
, andcom.my.package.*
.xstream.allowtypehierarchies
- A comma-separated list of fully-qualified type hierarchies to allow. This means that these classes and their subclasses will be allowed. An example value iscom.my.package.MyParentClass
.