config-custom-web-auth
Configures custom web authentication.
config-custom-web-auth
[-c value | --configuration=value]
[-b value | --bootstrap-config=value]
[-e <true|false> | --enabled=<true|false>]
[-a value | --authenticator-class=value]
{-Ikey=value}
Overview
This command is used for configuring a custom web authenticator that implements a web-based authentication flow (for example, based on OAuth2).
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | configuration.xml | The path to the server configuration file. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | true | Specifies whether custom web authentication should be enabled. |
|
Optional | none | The fully qualified name of a class implementing the com.spotfire.server.security.CustomWebAuthenticator interface. |
|
Optional | none | Initialization parameters that will be provided to the custom web authenticator when the init(CustomWebAuthenticatorContext) method is called. If the name of the parameter ends with [SENSITIVE] it will be stored encrypted in the configuration. This argument may be specified multiple times with different keys. |
Examples
To set the initialization parameter 'debug' to 'true':
-Idebug=true
To set a sensitive parameter where the value should be stored encrypted:
-Iclient.secret[SENSITIVE]=secret123
Parent topic: Command-line reference