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