You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2021. It is now read-only.
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out
Contributes-to: #106
Signed-off-by: Nic Townsend <[email protected]>
Copy file name to clipboardExpand all lines: server/README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,22 +20,22 @@ This directory contains all server code for the Strimzi UI - ie code which is re
20
20
21
21
As described in [the configuration approach](../docs/Architecture.md#configuration-and-feature-flagging), the UI server's configuration is provided via a file, which is then watched at runtime for modification. This configuration file is expected to be called `server.config.json` (available in the same directory as the `node` executable is run from), but this can be configured at runtime via environment variable `configPath`, dictating a different path and file name. The file must be either valid JSON or JS. The server also hosts configuration for discovery by the client via the `config` module. The configuration options for the server provided in the previously mentioned configuration file are as follows:
|authentication.strategy| No |`none`| What authentication strategy to use to authenticate users. See [the security section](#security) for details of the available options. |
26
-
|authentication.configuration | No |`{}`| Any additional configuration required for the provided authentication strategy `authentication.strategy` . See [the security section](#security) for details of the available options.|
27
-
| client.configOverrides| No |`{}`| Overrides to send to the client. See [client configuration for further details](#client-configuration). These values will take precedence over any others provided.|
28
-
| client.publicDir| No |`/dist/client`| The location of the built client to serve. |
29
-
| client.transport.cert| No |N/A - if one of `client.transport.cert` or `client.transport.key` are not provided, server will be HTTP | PEM certificate presented to browsers on connecting to the UI server. |
30
-
| client.transport.key| No |N/A - if one of `client.transport.cert` or `client.transport.key` are not provided, server will be HTTP| PEM certificate private key for the certificate provided in `client.transport.cert`.|
31
-
|client.transport.ciphers| No |default set from [node's tls module](https://nodejs.org/api/tls.html#tls_modifying_the_default_tls_cipher_suite)| TLS ciphers used/supported by the HTTPS server for client negotiation. Only applies if starting an HTTPS server.|
32
-
|client.transport.minTLS| No |`TLSv1.2`|Minimum TLS version supported by the server. Only applies if starting an HTTPS server. Set to `TLSv1.2` for browser compatibility.|
33
-
|featureFlags| No |`{}`| Feature flag overrides to set. The configuration is as per the format specified [here](#feature-flags). These values will take precedence over any others provided.|
34
-
|hostname| No| '0.0.0.0'| The hostname the UI server will be bound to. |
35
-
|logging| No |TBD| Logging configuration settings. Format to be defined in https://github.com/strimzi/strimzi-ui/issues/24|
36
-
|modules| No | Object - [enabled modules and configuration can be found here](../docs/Architecture.md#router-controller-data-pattern)| The modules which are either enabled or disabled.|
37
-
|port| No| 3000| The port the UI server will be bound to. |
38
-
| proxy.transport.cert| No| If not provided, SSL certificate validation of the upstream admin server is disabled| CA certificate in PEM format of the backend admin server api requests are to be sent to.|
39
-
| proxy.hostname| Yes| N/A| The hostname of the admin server to send api requests to. |
40
-
| proxy.port | Yes| N/A| The port of the admin server to send api requests to. |
41
-
| session.name | no |`strimzi-ui`| The name used to identify the session cookie |
|client.configOverrides| No |`{}`| Overrides to send to the client. See [client configuration for further details](#client-configuration). These values will take precedence over any others provided.|
26
+
|client.publicDir | No |`/dist/client`| The location of the built client to serve. |
27
+
| client.transport.cert| No |N/A - if one of `client.transport.cert` or `client.transport.key` are not provided, server will be HTTP| PEM certificate presented to browsers on connecting to the UI server.|
28
+
| client.transport.key| No |N/A - if one of `client.transport.cert` or `client.transport.key` are not provided, server will be HTTP| PEM certificate private key for the certificate provided in `client.transport.cert`.|
29
+
| client.transport.ciphers| No |default set from [node's tls module](https://nodejs.org/api/tls.html#tls_modifying_the_default_tls_cipher_suite)| TLS ciphers used/supported by the HTTPS server for client negotiation. Only applies if starting an HTTPS server.|
30
+
| client.transport.minTLS| No |`TLSv1.2`| Minimum TLS version supported by the server. Only applies if starting an HTTPS server. Set to `TLSv1.2` for browser compatibility.|
31
+
|featureFlags| No |`{}`| Feature flag overrides to set. The configuration is as per the format specified [here](#feature-flags). These values will take precedence over any others provided.|
32
+
|hostname| No |'0.0.0.0'|The hostname the UI server will be bound to. |
33
+
|logging| No |TBD| Logging configuration settings. Format to be defined in https://github.com/strimzi/strimzi-ui/issues/24|
34
+
|modules| No| Object - [enabled modules and configuration can be found here](../docs/Architecture.md#router-controller-data-pattern)| The modules which are either enabled or disabled.|
35
+
|port| No |3000| The port the UI server will be bound to. |
36
+
|proxy.transport.cert| No| If not provided, SSL certificate validation of the upstream admin server is disabled | CA certificate in PEM format of the backend admin server api requests are to be sent to.|
37
+
|proxy.hostname| Yes| N/A| The hostname of the admin server to send api requests to.|
38
+
| proxy.port| Yes | N/A | The port of the admin server to send api requests to. |
39
+
| proxy.authentication.type| No|`none`| What authentication strategy to use to authenticate users. See [the security section](#security) for details of the available options.|
40
+
| proxy.authentication.configuration | No|`{}`| Any additional configuration required for the provided authentication strategy `authentication.strategy` . See [the security section](#security) for details of the available options.|
41
+
| session.name | no |`strimzi-ui`| The name used to identify the session cookie |
// mark a subset of files as public - this means any user can access them. These entries will be used in a regex - if the test passes, it will be considered public
// if no match, not a file (path contains '.'), and we have an index.html file, redirect to it (ie return index so client navigation logic kicks in). Else do nothing (404 unless another module handles it)
0 commit comments