public class WebClientBuilderParameters extends ClientBuilderParameters
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<ConfigItem,java.lang.String> |
DEBUG_PROFILE
Unmodifiable map of client config : default value pairs for the debug profile.
|
private static java.lang.String |
DEBUGGER_TRANSPORT
The template for the transport part of the java debugger agent connection string
|
private WebClientBuilderOptions |
dirOptions
Default options from directory
|
private java.util.List<java.lang.String> |
dirWebOverrides
The bootstrap config overrides coming from directory, i.e.
|
private java.util.List<java.lang.String> |
firstWebOverrides
The bootstrap config overrides to be applied first.
|
private java.util.List<java.lang.String> |
lastWebOverrides
The bootstrap config overrides to be applied last.
|
private static CentralLogger |
LOG
Logger.
|
private java.util.List<java.lang.String> |
runtimeWebOverrides
The bootstrap config overrides compiled runtime: theme, webRoot, login/logout page url, forked
session overrides.
|
private java.lang.String |
ssoFwdUser
Fwd user for SSO authentication.
|
private java.lang.String |
storageId
The unique id for the client storage.
|
private boolean |
trusted
Enables trusted launch mode (no password is used and the OS account is forced).
|
| Constructor and Description |
|---|
WebClientBuilderParameters(java.lang.String osUser,
java.lang.String osPass,
WebClientBuilderOptions dirOptions,
int securePort,
java.lang.String serverAlias,
boolean trusted,
java.lang.String ssoFwdUser,
java.lang.String storageId,
java.util.List<java.lang.String> firstWebOverrides,
java.util.List<java.lang.String> dirWebOverrides,
java.util.List<java.lang.String> runtimeWebOverrides,
java.util.List<java.lang.String> lastWebOverrides)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
WebClientBuilderOptions |
getDirOptions()
Returns the directory values for the client as
WebClientBuilderOptions. |
java.util.List<java.lang.String> |
getDirWebOverrides()
Getter for
dirWebOverrides. |
java.util.List<java.lang.String> |
getFirstWebOverrides()
Getter for
firstWebOverrides. |
java.util.List<java.lang.String> |
getLastWebOverrides()
Getter for
lastWebOverrides. |
java.util.List<java.lang.String> |
getRuntimeWebOverrides()
Getter for
runtimeWebOverrides. |
java.lang.String |
getSsoFwdUser()
Get the FWD user for SSO authentication.
|
java.lang.String |
getStorageId()
Get the unique id for the client storage.
|
boolean |
isGui()
Get the flag that reports which web client type is in use.
|
boolean |
isPasswordAuthentication()
Get the authentication mode for this spawner.
|
boolean |
isTrusted()
Get the flag that reports is spawning should use trusted mode.
|
(package private) void |
updateOptions(WebAllocatedResources allocatedResources)
Update the command line parameters for the spawning process with the web client configuration.
|
getOsPass, getOsUser, getSecurePort, getServerAlias, getUuidprivate static final CentralLogger LOG
private static final java.lang.String DEBUGGER_TRANSPORT
private static final java.util.Map<ConfigItem,java.lang.String> DEBUG_PROFILE
private final boolean trusted
private final java.util.List<java.lang.String> firstWebOverrides
private final java.util.List<java.lang.String> dirWebOverrides
private final java.util.List<java.lang.String> runtimeWebOverrides
private final java.util.List<java.lang.String> lastWebOverrides
private final WebClientBuilderOptions dirOptions
private final java.lang.String ssoFwdUser
private final java.lang.String storageId
null if SSO not enabled.public WebClientBuilderParameters(java.lang.String osUser,
java.lang.String osPass,
WebClientBuilderOptions dirOptions,
int securePort,
java.lang.String serverAlias,
boolean trusted,
java.lang.String ssoFwdUser,
java.lang.String storageId,
java.util.List<java.lang.String> firstWebOverrides,
java.util.List<java.lang.String> dirWebOverrides,
java.util.List<java.lang.String> runtimeWebOverrides,
java.util.List<java.lang.String> lastWebOverrides)
osUser - The OS user name.osPass - The OS user password.dirOptions - The client builder options.securePort - The server's secure port.serverAlias - The alias of the server certificate.trusted - If this instance will be used to launch clients in trusted mode.ssoFwdUser - Fwd user for SSO authentication.storageId - The unique id for the client storage.firstWebOverrides - The bootstrap config overrides to be applied first. Lowest priority.dirWebOverrides - The bootstrap config overrides coming from directory.runtimeWebOverrides - The bootstrap config overrides compiled runtime.lastWebOverrides - The bootstrap config overrides to be applied last. Highest priority.public WebClientBuilderOptions getDirOptions()
WebClientBuilderOptions.getDirOptions in class ClientBuilderParameterspublic boolean isPasswordAuthentication()
isPasswordAuthentication in class ClientBuilderParameterstrue indicating that the user's password is required for authentication.public boolean isGui()
true for GUI, false for ChUI).public boolean isTrusted()
public java.lang.String getSsoFwdUser()
public java.lang.String getStorageId()
public java.util.List<java.lang.String> getFirstWebOverrides()
firstWebOverrides.public java.util.List<java.lang.String> getDirWebOverrides()
dirWebOverrides.public java.util.List<java.lang.String> getRuntimeWebOverrides()
runtimeWebOverrides.public java.util.List<java.lang.String> getLastWebOverrides()
lastWebOverrides.void updateOptions(WebAllocatedResources allocatedResources)
allocatedResources - The web client allocated resources