1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Spring Security provides a DelegatingSecurityContextRunnable

abstraction for Runnable that can be used for async and
scheduled tasks. The primary contract for task scheduling is
TaskScheduler and there's no such wrapper available at the moment.

The new DelegatingSecurityContextTaskScheduler class implements
TaskScheduler interface.

Fixes gh-6043
This commit is contained in:
Richard Valdivieso
2018-12-04 06:33:05 -05:00
committed by Rob Winch
parent 3230cd653c
commit cb0ea0241b
3 changed files with 168 additions and 0 deletions
@@ -165,3 +165,4 @@ They are quite self-explanatory once you understand the previous code.
* DelegatingSecurityContextSchedulingTaskExecutor
* DelegatingSecurityContextAsyncTaskExecutor
* DelegatingSecurityContextTaskExecutor
* DelegatingSecurityContextTaskScheduler