JavaSecurityFactory dependency removed and the OSGi service registration
replaced to Provider