public class WebClientBuilder extends ClientBuilder
ProcessBuilder
instance. A special small tools are designed for Linux / Windows OS in order to spawn the
process on the OS user account. Both tools are written in C using specific OS API and are
build as executable using ant native target. The source code and the make file for this tools
are available in the /src/native process directory. The password is provided vis stdin
redirection on both platforms. The command line parameters for the spawned process are
constructed from default parameters stored in directory and some specific parameters stored
inside a WebClientBuilderParameters
structure.Modifier and Type | Field and Description |
---|---|
private ServerKeyStore |
serverKeyStore
Server key store
|
command, config, remote
Constructor and Description |
---|
WebClientBuilder(ClientBuilderParameters config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addClientOptions()
Add terminal options.
|
ServerKeyStore |
getServerKeyStore()
Get server key store
|
protected java.util.List<java.lang.String> |
getSpawnArguments()
Get the spawn arguments.
|
getCommand, initNativeSecureConnection, localStart, remoteStart, removeCommand
private ServerKeyStore serverKeyStore
public WebClientBuilder(ClientBuilderParameters config)
config
- The specific parameters for this client.public ServerKeyStore getServerKeyStore()
protected void addClientOptions()
addClientOptions
in class ClientBuilder
protected java.util.List<java.lang.String> getSpawnArguments()
spawn
tool using the
spawn 0 <user> <workdir> <command> [args]
syntax.
As these arguments are already built into the ClientBuilder.command
list, it just
returns the already build list with a "1" prefix.
getSpawnArguments
in class ClientBuilder