[ https://issues.apache.org/jira/browse/KAFKA-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981805#comment-14981805 ]
Ismael Juma commented on KAFKA-2711: ------------------------------------ I'm not sure I understand. `clientPrincipalName` is used in the creation of SaslClient. Do you mean that the following line could be replaced by simply assigning `clientPrincipal.getName' to 'clientPrincipalName`? this.clientPrincipalName = kerberosNameParser.parse(clientPrincipal.getName()).toString(); > SaslClientAuthenticator no longer needs KerberosNameParser in constructor > ------------------------------------------------------------------------- > > Key: KAFKA-2711 > URL: https://issues.apache.org/jira/browse/KAFKA-2711 > Project: Kafka > Issue Type: Sub-task > Components: clients > Affects Versions: 0.9.0.0 > Reporter: Jun Rao > Priority: Minor > Fix For: 0.9.1 > > > Since the sasl client doesn't need to know the principal name, we don't need > to pass in KerberosNameParser to SaslClientAuthenticator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)