-import org.springframework.core.task.SimpleAsyncTaskExecutor;
-import org.springframework.core.task.TaskExecutor;
-import org.springframework.security.Authentication;
-import org.springframework.security.AuthenticationManager;
-import org.springframework.security.context.SecurityContext;
-import org.springframework.security.context.SecurityContextHolder;
-
-public class KeyBasedSystemExecutionService implements SystemExecutionService,
- TaskExecutor {
- private AuthenticationManager authenticationManager;
- private String systemAuthenticationKey;