Return the SecurityManager only if Security is enabled AND package protection mechanism is enabled. if (packageDefinitionEnabled && Constants.IS_SECURITY_ENABLED){ return true; } return false;
SecurityManager
if (packageDefinitionEnabled && Constants.IS_SECURITY_ENABLED){ return true; } return false;