public interface WebClientLauncher
Modifier and Type | Method and Description |
---|---|
java.lang.String |
spawn(java.lang.String user,
java.lang.String pw,
boolean gui,
java.lang.String[] options,
java.lang.String referrer)
Spawn a new web client process, returning the redirect URL if successful.
|
java.lang.String spawn(java.lang.String user, java.lang.String pw, boolean gui, java.lang.String[] options, java.lang.String referrer)
user
- The OS userid to use for the new process.pw
- The OS password to authenticate the user.gui
- This specifies the UI mode (true
for GUI, false
for
ChUI).options
- List of caller-specified options to be passed on the client command line or
null
if no values are specified.referrer
- The referrer string to provide the web client. If the client gets disconnected
it will be redirected back to this URL.WebHandler.ERROR_PREFIX
and followed
by descriptive error text.