X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.core%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FProcessThreadGroup.java;h=17dbff83b93f493cb1d3cccb95a3ef20d9fb092a;hb=c4282a516108d936112fbd4b91291563ec30a5e4;hp=c18eaedbb1d28ca4bccc596e45ac4845ffe7e0d9;hpb=a9b97cc33383ded70277f49aa287f84903334e70;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.core/src/org/argeo/slc/core/execution/ProcessThreadGroup.java b/org.argeo.slc.core/src/org/argeo/slc/core/execution/ProcessThreadGroup.java index c18eaedbb..17dbff83b 100644 --- a/org.argeo.slc.core/src/org/argeo/slc/core/execution/ProcessThreadGroup.java +++ b/org.argeo.slc.core/src/org/argeo/slc/core/execution/ProcessThreadGroup.java @@ -20,14 +20,10 @@ import java.util.concurrent.BlockingQueue; import org.argeo.slc.execution.ExecutionProcess; import org.argeo.slc.execution.ExecutionStep; -import org.springframework.security.core.Authentication; -import org.springframework.security.core.context.SecurityContextHolder; /** The thread group attached to a given {@link SlcExecution}. */ public class ProcessThreadGroup extends ThreadGroup { - // private final ExecutionModulesManager executionModulesManager; - // private final ProcessThread processThread; - private final Authentication authentication; +// private final Authentication authentication; private final static Integer STEPS_BUFFER_CAPACITY = 5000; private BlockingQueue steps = new ArrayBlockingQueue( @@ -37,15 +33,13 @@ public class ProcessThreadGroup extends ThreadGroup { public ProcessThreadGroup(ExecutionProcess executionProcess) { super("SLC Process #" + executionProcess.getUuid() + " thread group"); - // this.executionModulesManager = executionModulesManager; - // this.processThread = processThread; - this.authentication = SecurityContextHolder.getContext() - .getAuthentication(); +// this.authentication = SecurityContextHolder.getContext() +// .getAuthentication(); } - public Authentication getAuthentication() { - return authentication; - } +// public Authentication getAuthentication() { +// return authentication; +// } public void dispatchAddStep(ExecutionStep step) { // ExecutionProcess slcProcess = processThread.getProcess();