クラス DelegatingSecurityContextAsyncTaskExecutor
java.lang.ObjectSE
org.springframework.security.concurrent.DelegatingSecurityContextExecutor
org.springframework.security.task.DelegatingSecurityContextTaskExecutor
org.springframework.security.task.DelegatingSecurityContextAsyncTaskExecutor
- 実装されているすべてのインターフェース:
ExecutorSE、org.springframework.core.task.AsyncTaskExecutor、org.springframework.core.task.TaskExecutor
public class DelegatingSecurityContextAsyncTaskExecutor
extends DelegatingSecurityContextTaskExecutor
implements org.springframework.core.task.AsyncTaskExecutor
各
RunnableSE を DelegatingSecurityContextRunnable でラップし、各 CallableSE を DelegatingSecurityContextCallable でラップする AsyncTaskExecutor。- 導入:
- 3.2
フィールドのサマリー
インターフェース org.springframework.core.task.AsyncTaskExecutor から継承されたフィールド
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITEコンストラクターの概要
コンストラクターコンストラクター説明DelegatingSecurityContextAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor delegateAsyncTaskExecutor) 現在のSecurityContextを使用する新しいDelegatingSecurityContextAsyncTaskExecutorを作成します。DelegatingSecurityContextAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor delegateAsyncTaskExecutor, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextAsyncTaskExecutorを作成します。メソッドのサマリー
修飾子と型メソッド説明final voidexecute(RunnableSE task, long startTimeout) final FutureSE<?>submit(RunnableSE task) final <T> FutureSE<T>submit(CallableSE<T> task) protected final RunnableSEwrap(RunnableSE delegate) protected final <T> CallableSE<T>wrap(CallableSE<T> delegate) クラス org.springframework.security.concurrent.DelegatingSecurityContextExecutor から継承されたメソッド
execute, getDelegateExecutor, setSecurityContextHolderStrategyクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.core.task.AsyncTaskExecutor から継承されたメソッド
submitCompletable, submitCompletableインターフェース org.springframework.core.task.TaskExecutor から継承されたメソッド
execute
コンストラクターの詳細
DelegatingSecurityContextAsyncTaskExecutor
public DelegatingSecurityContextAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor delegateAsyncTaskExecutor, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextAsyncTaskExecutorを作成します。- パラメーター:
delegateAsyncTaskExecutor- 委譲先のAsyncTaskExecutornull にはできません。securityContext-DelegatingSecurityContextRunnableおよびDelegatingSecurityContextCallableごとに使用するSecurityContext
DelegatingSecurityContextAsyncTaskExecutor
public DelegatingSecurityContextAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor delegateAsyncTaskExecutor) 現在のSecurityContextを使用する新しいDelegatingSecurityContextAsyncTaskExecutorを作成します。- パラメーター:
delegateAsyncTaskExecutor- 委譲先のAsyncTaskExecutornull にはできません。
メソッドの詳細
execute
- 次で指定:
- インターフェース
org.springframework.core.task.AsyncTaskExecutorのexecute
submit
- 次で指定:
- インターフェース
org.springframework.core.task.AsyncTaskExecutorのsubmit
submit
- 次で指定:
- インターフェース
org.springframework.core.task.AsyncTaskExecutorのsubmit
wrap
wrap