[cleanup][doc] Merge the broker and proxy authentication configuration#18343
[cleanup][doc] Merge the broker and proxy authentication configuration#18343RobertIndie merged 3 commits intoapache:masterfrom
Conversation
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
site2/docs/security-athenz.md
Outdated
| ::: | ||
|
|
||
| In the `conf/broker.conf` configuration file in your Pulsar installation, you need to provide the class name of the Athenz authentication provider as well as a comma-separated list of provider domain names. | ||
| To configure brokers/proxies to authenticate clients using Authenz, add the following parameters to the `conf/broker.conf` and the `conf/proxy.conf` file. If you use a standalone Pulsar, you need to add these parameters to the `conf/standalone.conf` file, you need to provide the class name of the Athenz authentication provider as well as a comma-separated list of provider domain names. |
There was a problem hiding this comment.
Does provide the class name of the Athenz authentication provider as well as a comma-separated list of provider domain names also apply to broker.conf and proxy.conf? The proposed description seems it only applies to standalone.conf.
There was a problem hiding this comment.
This can apply to broker/proxy/standalone.
site2/docs/security-overview.md
Outdated
| :::note | ||
|
|
||
| Starting from 2.11.0, [TLS authentication](security-tls-authentication.md) includes [TLS encryption](security-tls-transport.md) by default. If you configure TLS authentication first, then TLS encryption automatically applies; if you configure TLS encryption first, you can select any one of the above authentication providers. | ||
| Starting from 2.11.0, if you can configure [Mutual TLS](security-tls-transport.md) with any one of the above authentication providers. |
There was a problem hiding this comment.
| Starting from 2.11.0, if you can configure [Mutual TLS](security-tls-transport.md) with any one of the above authentication providers. | |
| Starting from 2.11.0, you can configure [Mutual TLS](security-tls-transport.md) with any one of the above authentication providers. |
Is this what you mean?
site2/docs/security-overview.md
Outdated
| ::: | ||
| **Important:** If your authentication data contains an expiration time, or your authorization provider depends on the authentication data, you must to: | ||
|
|
||
| 1. Ensure your authentication data of proxies no expiration time, brokers don't support refreshing this authentication data. |
There was a problem hiding this comment.
| 1. Ensure your authentication data of proxies no expiration time, brokers don't support refreshing this authentication data. | |
| 1. Ensure your authentication data of proxies has no expiration time since brokers don't support refreshing this authentication data. |
Is brokers don't support refreshing this authentication data the reason or something users need to ensure?
site2/docs/security-overview.md
Outdated
| When you use proxies between clients and brokers, there are two authentication data, one from proxies, one from clients, brokers only authenticate proxies (known as **self-authentication**) by default. To forward the authentication data from clients to brokers for client authentication (known as **original authentication**). | ||
|
|
||
| ::: | ||
| **Important:** If your authentication data contains an expiration time, or your authorization provider depends on the authentication data, you must to: |
There was a problem hiding this comment.
| **Important:** If your authentication data contains an expiration time, or your authorization provider depends on the authentication data, you must to: | |
| **Important:** If your authentication data contains an expiration time, or your authorization provider depends on the authentication data, you must: |
site2/docs/security-overview.md
Outdated
| When you use proxies between clients and brokers, brokers only authenticate proxies (known as **self-authentication**) by default. To forward the authentication data from clients to brokers for client authentication (known as **original authentication**), you need to: | ||
| 1. Set `forwardAuthorizationCredentials` to `true` in the `conf/proxy.conf` file. | ||
| 2. Set `authenticateOriginalAuthData` to `true` in the `conf/broker.conf` file, which ensures that brokers recheck the client authentication. | ||
| When you use proxies between clients and brokers, there are two authentication data, one from proxies, one from clients, brokers only authenticate proxies (known as **self-authentication**) by default. To forward the authentication data from clients to brokers for client authentication (known as **original authentication**). |
There was a problem hiding this comment.
| When you use proxies between clients and brokers, there are two authentication data, one from proxies, one from clients, brokers only authenticate proxies (known as **self-authentication**) by default. To forward the authentication data from clients to brokers for client authentication (known as **original authentication**). | |
| When you use proxies between clients and brokers, there are two authentication data: | |
| * authentication data from proxies that brokers default to authenticate - known as **self-authentication**. | |
| * authentication data from clients that proxies forward to brokers for authenticating - known as **original authentication**. |
Is this what you mean?
There was a problem hiding this comment.
- authentication data from clients - known as original authentication.
To forward the authentication data from clients to brokers by the proxies (known as original authentication).
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Co-authored-by: momo-jun <60642177+momo-jun@users.noreply.github.com>
This commit sets the locale to en-US in order to avoid ambiguous decimal formattings that can cause the CPUResourceTest to fail. This closes apache#18343.
Motivation
Authentication documentation has too many duplicate configurations and some unnecessary configurations.
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: