You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/04/20 00:46:25 UTC

[jira] [Comment Edited] (KAFKA-3532) add principal.builder.class that can extract user from a field

    [ https://issues.apache.org/jira/browse/KAFKA-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248831#comment-15248831 ] 

Ismael Juma edited comment on KAFKA-3532 at 4/19/16 10:45 PM:
--------------------------------------------------------------

I think we should allow one to to pass a list of fields instead of a single field. There are cases where certificates include additional fields (email is a common one) that get exposed via OIDs when `Principal.getName()` is called. It would be straightforward to exclude any undesired fields if one could pass the list of desired fields.


was (Author: ijuma):
I think we should allow one to to pass a list of fields instead of a single field. There are cases where certificates include additional fields (email is a common one) that get exposed via OIDs when `Principal.getName()` is called. It would be straightforward to any undesired fields if one could pass the list of desired fields.

> add principal.builder.class that can extract user from a field
> --------------------------------------------------------------
>
>                 Key: KAFKA-3532
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3532
>             Project: Kafka
>          Issue Type: Wish
>    Affects Versions: 0.9.0.1
>            Reporter: Jun Rao
>            Assignee: Sriharsha Chintalapani
>
> By default, the user name associated with an SSL connection looks like the following. Often, people may want to extract one of the field (e.g., CN) as the user. It would be good if we can have a built-in principal builder that does that.
> CN=writeuser,OU=Unknown,O=Unknown,L=Unknown,ST=Unknown,C=Unknown



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)