}
public void run() {
+ // authenticate thread
+// Authentication authentication = getProcessThreadGroup()
+// .getAuthentication();
+// if (authentication == null)
+// throw new SlcException("Can only execute authenticated threads");
+// SecurityContextHolder.getContext().setAuthentication(authentication);
+
if (getContextClassLoader() != null) {
if (log.isTraceEnabled())
log.trace("Context class loader set to "
processThread.getProcessThreadGroup().dispatchAddStep(step);
}
+ protected ProcessThreadGroup getProcessThreadGroup() {
+ return processThread.getProcessThreadGroup();
+ }
+
public RealizedFlow getRealizedFlow() {
return realizedFlow;
}