public final class ImpersonatingExecutorService extends InterceptingExecutorService
ACL.impersonate(Authentication)
for all tasks.SecurityContextExecutorService
Constructor and Description |
---|
ImpersonatingExecutorService(ExecutorService base,
org.acegisecurity.Authentication authentication)
Creates a wrapper service.
|
Modifier and Type | Method and Description |
---|---|
protected <V> Callable<V> |
wrap(Callable<V> r) |
protected Runnable |
wrap(Runnable r) |
delegate, execute, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
public ImpersonatingExecutorService(ExecutorService base, org.acegisecurity.Authentication authentication)
base
- the base serviceauthentication
- for example ACL.SYSTEM
protected Runnable wrap(Runnable r)
wrap
in class InterceptingExecutorService
protected <V> Callable<V> wrap(Callable<V> r)
wrap
in class InterceptingExecutorService
Copyright © 2004–2017. All rights reserved.