You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ju...@apache.org on 2023/06/02 03:15:18 UTC
[pulsar-site] branch main updated: Sync doc updates for proxyRole to versioned docs (#593)
This is an automated email from the ASF dual-hosted git repository.
junma pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new d01a11cd885 Sync doc updates for proxyRole to versioned docs (#593)
d01a11cd885 is described below
commit d01a11cd88507b8725bc0e8fb75ae9af6370b8c3
Author: Jun Ma <60...@users.noreply.github.com>
AuthorDate: Fri Jun 2 11:15:12 2023 +0800
Sync doc updates for proxyRole to versioned docs (#593)
* sync doc updates of #408 (for #19270)
* remove the conditional requirement
---
versioned_docs/version-2.10.x/developing-binary-protocol.md | 11 +++++++----
versioned_docs/version-2.11.x/developing-binary-protocol.md | 5 ++++-
versioned_docs/version-2.8.x/developing-binary-protocol.md | 11 +++++++----
versioned_docs/version-2.9.x/developing-binary-protocol.md | 11 +++++++----
4 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/versioned_docs/version-2.10.x/developing-binary-protocol.md b/versioned_docs/version-2.10.x/developing-binary-protocol.md
index 8f1a191c2ea..2b50e728652 100644
--- a/versioned_docs/version-2.10.x/developing-binary-protocol.md
+++ b/versioned_docs/version-2.10.x/developing-binary-protocol.md
@@ -141,13 +141,16 @@ message CommandConnect {
```
Fields:
- * `client_version` → String based identifier. Format is not enforced
+ * `client_version` → String based identifier. Format is not enforced.
* `auth_method_name` → *(optional)* Name of the authentication plugin if auth
- enabled
- * `auth_data` → *(optional)* Plugin specific authentication data
+ enabled.
+ * `auth_data` → *(optional)* Plugin specific authentication data.
* `protocol_version` → Indicates the protocol version supported by the
client. Broker will not send commands introduced in newer revisions of the
- protocol. Broker might be enforcing a minimum version
+ protocol. Broker might be enforcing a minimum version.
+ * `original_principal`: Added by the proxy. Regular clients are not expected to supply this value. When set and when authorization is enabled, the `auth_data` must map to one of the `proxyRoles` in the `broker.conf` file.
+ * `original_auth_method`: Added by the proxy. Regular clients are not expected to supply this value.
+ * `original_auth_data`: Added by the proxy when configured to do so. Regular clients are not expected to supply this value.
```protobuf
diff --git a/versioned_docs/version-2.11.x/developing-binary-protocol.md b/versioned_docs/version-2.11.x/developing-binary-protocol.md
index e5a1ff853f5..253f1b698e2 100644
--- a/versioned_docs/version-2.11.x/developing-binary-protocol.md
+++ b/versioned_docs/version-2.11.x/developing-binary-protocol.md
@@ -142,7 +142,10 @@ Fields:
* `auth_method_name`: *(optional)* Name of the authentication plugin if auth is enabled.
* `auth_data`: *(optional)* Plugin specific authentication data.
* `protocol_version`: Indicates the protocol version supported by the client. Broker will not send commands introduced in newer revisions of the protocol. Broker might be enforcing a minimum version.
-
+ * `original_principal`: Added by the proxy. Regular clients are not expected to supply this value. When set and when authorization is enabled, the `auth_data` must map to one of the `proxyRoles` in the `broker.conf` file.
+ * `original_auth_method`: Added by the proxy. Regular clients are not expected to supply this value.
+ * `original_auth_data`: Added by the proxy when configured to do so. Regular clients are not expected to supply this value.
+
```protobuf
message CommandConnected {
"server_version" : "Pulsar-Broker-v1.15.2",
diff --git a/versioned_docs/version-2.8.x/developing-binary-protocol.md b/versioned_docs/version-2.8.x/developing-binary-protocol.md
index da668916b43..f6d921271b4 100644
--- a/versioned_docs/version-2.8.x/developing-binary-protocol.md
+++ b/versioned_docs/version-2.8.x/developing-binary-protocol.md
@@ -131,13 +131,16 @@ message CommandConnect {
```
Fields:
- * `client_version` → String based identifier. Format is not enforced
+ * `client_version` → String based identifier. Format is not enforced.
* `auth_method_name` → *(optional)* Name of the authentication plugin if auth
- enabled
- * `auth_data` → *(optional)* Plugin specific authentication data
+ enabled.
+ * `auth_data` → *(optional)* Plugin specific authentication data.
* `protocol_version` → Indicates the protocol version supported by the
client. Broker will not send commands introduced in newer revisions of the
- protocol. Broker might be enforcing a minimum version
+ protocol. Broker might be enforcing a minimum version.
+ * `original_principal`: Added by the proxy. Regular clients are not expected to supply this value. When set and when authorization is enabled, the `auth_data` must map to one of the `proxyRoles` in the `broker.conf` file.
+ * `original_auth_method`: Added by the proxy. Regular clients are not expected to supply this value.
+ * `original_auth_data`: Added by the proxy when configured to do so. Regular clients are not expected to supply this value.
```protobuf
diff --git a/versioned_docs/version-2.9.x/developing-binary-protocol.md b/versioned_docs/version-2.9.x/developing-binary-protocol.md
index 763dfb20b27..156947c0b98 100644
--- a/versioned_docs/version-2.9.x/developing-binary-protocol.md
+++ b/versioned_docs/version-2.9.x/developing-binary-protocol.md
@@ -131,13 +131,16 @@ message CommandConnect {
```
Fields:
- * `client_version` → String based identifier. Format is not enforced
+ * `client_version` → String based identifier. Format is not enforced.
* `auth_method_name` → *(optional)* Name of the authentication plugin if auth
- enabled
- * `auth_data` → *(optional)* Plugin specific authentication data
+ enabled.
+ * `auth_data` → *(optional)* Plugin specific authentication data.
* `protocol_version` → Indicates the protocol version supported by the
client. Broker will not send commands introduced in newer revisions of the
- protocol. Broker might be enforcing a minimum version
+ protocol. Broker might be enforcing a minimum version.
+ * `original_principal`: Added by the proxy. Regular clients are not expected to supply this value. When set and when authorization is enabled, the `auth_data` must map to one of the `proxyRoles` in the `broker.conf` file.
+ * `original_auth_method`: Added by the proxy. Regular clients are not expected to supply this value.
+ * `original_auth_data`: Added by the proxy when configured to do so. Regular clients are not expected to supply this value.
```protobuf