+ this.authentication = SecurityContextHolder.getContext()
+ .getAuthentication();
+ }
+
+ public Authentication getAuthentication() {
+ return authentication;
+ }
+
+ public void dispatchAddStep(ExecutionStep step) {
+ // legacy
+ ExecutionProcess slcProcess = processThread.getProcess();
+ if (slcProcess instanceof SlcExecution)
+ ((SlcExecution) slcProcess).getSteps().add((SlcExecutionStep) step);
+
+ List<ExecutionStep> steps = new ArrayList<ExecutionStep>();
+ steps.add(step);
+ // dispatchAddSteps(steps);
+ this.steps.add(step);