JBTM-2076. Add security permission checking in ServiceRegistry class
[JBTM-2132] XAException and orphan handlers