JBTM-2076. Add security permission checking in ServiceRegistry class