| Package | Description |
|---|---|
| li.strolch.agent.api | |
| li.strolch.runtime.privilege | |
| li.strolch.service.api |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
StrolchComponent.runAsAgentWithResult(PrivilegedRunnableWithResult<T> runnable)
Performs the given
PrivilegedRunnable as the privileged system user
StrolchConstants.SYSTEM_USER_AGENT |
protected <T> T |
StrolchComponent.runWithResult(String username,
PrivilegedRunnableWithResult<T> runnable)
Performs the given
PrivilegedRunnable as the given system user |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DefaultStrolchPrivilegeHandler.runAsAgentWithResult(PrivilegedRunnableWithResult<T> runnable) |
<T> T |
PrivilegeHandler.runAsAgentWithResult(PrivilegedRunnableWithResult<T> runnable)
Run the given
PrivilegedRunnableWithResult as the system user StrolchConstants.SYSTEM_USER_AGENT |
<T> T |
DefaultStrolchPrivilegeHandler.runWithResult(String username,
PrivilegedRunnableWithResult<T> runnable) |
<T> T |
PrivilegeHandler.runWithResult(String username,
PrivilegedRunnableWithResult<T> runnable)
Run the given
PrivilegedRunnable as the given system user |
| Constructor and Description |
|---|
StrolchSystemActionWithResult(PrivilegedRunnableWithResult<T> runnable) |
| Modifier and Type | Method and Description |
|---|---|
protected <V> V |
Command.runAsAgentWithResult(PrivilegedRunnableWithResult<V> runnable)
Performs the given
PrivilegedRunnableWithResult as the privileged system user
StrolchConstants.SYSTEM_USER_AGENT |
protected <V> V |
AbstractService.runAsAgentWithResult(PrivilegedRunnableWithResult<V> runnable)
Performs the given
PrivilegedRunnableWithResult as the privileged system user
StrolchConstants.SYSTEM_USER_AGENT |
protected <V> V |
Command.runWithResult(String username,
PrivilegedRunnableWithResult<V> runnable)
Performs the given
PrivilegedRunnableWithResult as a system user with the given username |
protected <V> V |
AbstractService.runWithResult(String username,
PrivilegedRunnableWithResult<V> runnable)
Performs the given
PrivilegedRunnableWithResult as a system user with the given username |
Copyright © 2011–2016 Strolch. All rights reserved.