KIP-189 — Improve principal builder interface and add support for SASL
Accepted Kafka 1.0 Security
Replaces the existing `PrincipalBuilder` interface (which only supports SSL) with an extended `KafkaPrincipalBuilder` interface that provides typed callbacks for both SSL (`SslAuthenticationContext`) and SASL (`SaslAuthenticationContext`) authentication contexts, enabling custom principal extraction from SASL credentials. The old interface had no SASL support and relied on `TransportLayer`/`Authenticator` internals that are not stable public API.
Details
| Author | Jason Gustafson |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-5783 |
| Wiki | View on Apache Wiki |
| Created | 2017-08-17 |
| Last Modified | 2017-09-13 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.