It is required for the progress window to appear
git-svn-id: https://svn.argeo.org/commons/trunk@7730
4cfe0d0a-d680-48aa-b62c-
e0a02a3f76cc
super(jobName);
authentication = SecurityContextHolder.getContext().getAuthentication();
subject = Subject.getSubject(AccessController.getContext());
super(jobName);
authentication = SecurityContextHolder.getContext().getAuthentication();
subject = Subject.getSubject(AccessController.getContext());
+
+ // Must be called *before* the job is scheduled,
+ // it is required for the progress window to appear
+ setUser(true);