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
ConstructorsConstructorDescriptionImpersonatingScheduledExecutorService(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, scheduleWithFixedDelayMethods inherited from class jenkins.util.InterceptingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
wrapin classInterceptingExecutorService
-
wrap
- Specified by:
wrapin classInterceptingExecutorService
-
ImpersonatingScheduledExecutorService(ScheduledExecutorService, Authentication)