Package jenkins.security
Class ImpersonatingScheduledExecutorService
java.lang.Object
jenkins.util.InterceptingExecutorService
jenkins.util.InterceptingScheduledExecutorService
jenkins.security.ImpersonatingScheduledExecutorService
- All Implemented Interfaces:
Executor
,ExecutorService
,ScheduledExecutorService
public final class ImpersonatingScheduledExecutorService
extends InterceptingScheduledExecutorService
Variant of
ImpersonatingExecutorService
for scheduled services.- Since:
- 2.51
-
Constructor Summary
ConstructorDescriptionImpersonatingScheduledExecutorService
(ScheduledExecutorService base, Authentication authentication) Deprecated.ImpersonatingScheduledExecutorService
(ScheduledExecutorService base, org.springframework.security.core.Authentication authentication) Creates a wrapper service. -
Method Summary
Methods inherited from class jenkins.util.InterceptingScheduledExecutorService
delegate, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
Methods inherited from class jenkins.util.InterceptingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Constructor Details
-
ImpersonatingScheduledExecutorService
public ImpersonatingScheduledExecutorService(ScheduledExecutorService base, org.springframework.security.core.Authentication authentication) Creates a wrapper service.- Parameters:
base
- the base serviceauthentication
- for exampleACL.SYSTEM2
- Since:
- 2.266
-
ImpersonatingScheduledExecutorService
@Deprecated public ImpersonatingScheduledExecutorService(ScheduledExecutorService base, Authentication authentication)
-
-
Method Details
-
wrap
- Specified by:
wrap
in classInterceptingExecutorService
-
wrap
- Specified by:
wrap
in classInterceptingExecutorService
-
ImpersonatingScheduledExecutorService(ScheduledExecutorService, Authentication)