+ this.authentication = SecurityContextHolder.getContext()
+ .getAuthentication();
+ }
+
+ public Authentication getAuthentication() {
+ return authentication;
+ }
+
+ public void dispatchAddStep(ExecutionStep step) {
+ ExecutionProcess slcProcess = processThread.getProcess();
+ List<ExecutionStep> steps = new ArrayList<ExecutionStep>();
+ steps.add(step);
+ // TODO clarify why we don't dispatch steps, must be a reason
+ // dispatchAddSteps(steps);
+ slcProcess.addSteps(steps);
+ this.steps.add(step);