-
Notifications
You must be signed in to change notification settings - Fork 15.1k
KIP-368: Allow SASL Connections to Periodically Re-Authenticate #5582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2a5d564
ab5b269
066340c
9817390
071b3f7
3803006
06750aa
44ba6b1
1e4273d
43fc41a
7dfa02d
9c30b80
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,7 @@ public class BrokerSecurityConfigs { | |
| public static final String SASL_ENABLED_MECHANISMS_CONFIG = "sasl.enabled.mechanisms"; | ||
| public static final String SASL_SERVER_CALLBACK_HANDLER_CLASS = "sasl.server.callback.handler.class"; | ||
| public static final String SSL_PRINCIPAL_MAPPING_RULES_CONFIG = "ssl.principal.mapping.rules"; | ||
| public static final String CONNECTIONS_MAX_REAUTH_MS = "connections.max.reauth.ms"; | ||
|
|
||
| public static final String PRINCIPAL_BUILDER_CLASS_DOC = "The fully qualified name of a class that implements the " + | ||
| "KafkaPrincipalBuilder interface, which is used to build the KafkaPrincipal object used during " + | ||
|
|
@@ -84,4 +85,9 @@ public class BrokerSecurityConfigs { | |
| + "listener prefix and SASL mechanism name in lower-case. For example, " | ||
| + "listener.name.sasl_ssl.plain.sasl.server.callback.handler.class=com.example.CustomPlainCallbackHandler."; | ||
|
|
||
| public static final String CONNECTIONS_MAX_REAUTH_MS_DOC = "When explicitly set to a positive number (the default is 0, not a positive number), " | ||
| + "a session lifetime that will not exceed the configured value will be communicated to v2.2.0 or later clients when they authenticate. " | ||
| + "The broker will disconnect any such connection that is not re-authenticated within the session lifetime and that is then subsequently " | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am confused by what this part of this sentence, can you elaborate?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mkaminski1988 Here's the quote from the KIP related to this:
Does that clarify it? |
||
| + "used for any purpose other than re-authentication. Configuration names can optionally be prefixed with listener prefix and SASL " | ||
| + "mechanism name in lower-case. For example, listener.name.sasl_ssl.oauthbearer.connections.max.reauth.ms=3600000"; | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.