import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.argeo.slc.SlcException;
import org.argeo.slc.execution.ExecutionModulesManager;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.execution.ExecutionStep;
import org.argeo.slc.execution.RealizedFlow;
-import org.springframework.security.core.Authentication;
-import org.springframework.security.core.context.SecurityContextHolder;
/**
* Main thread coordinating an {@link ExecutionProcess}, launching parallel or
public final void run() {
// authenticate thread
- Authentication authentication = getProcessThreadGroup()
- .getAuthentication();
- if (authentication == null)
- throw new SlcException("Can only execute authenticated threads");
- SecurityContextHolder.getContext().setAuthentication(authentication);
+// Authentication authentication = getProcessThreadGroup()
+// .getAuthentication();
+// if (authentication == null)
+// throw new SlcException("Can only execute authenticated threads");
+// SecurityContextHolder.getContext().setAuthentication(authentication);
log.info("\n##\n## SLC Process #" + process.getUuid()
+ " STARTED\n##\n");