[
https://issues.apache.org/jira/browse/HADOOP-10322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoy Antony updated HADOOP-10322:
----------------------------------
Attachment: HADOOP-10322.patch
[~tucu00]I believe, this will mostly used on the server side. Spnego client
figures out he host name based on the uri. The spnego server reads the
principals from keytab/conf.
[~daryn] The principal names returned by the API had forward slashes (/)
changed to backslash. That's why the line was added to replace backslash with
forward slash
Updated the patch to throw IOException instead of empty list.
> Add ability to read principal names from a keytab
> -------------------------------------------------
>
> Key: HADOOP-10322
> URL: https://issues.apache.org/jira/browse/HADOOP-10322
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 2.2.0
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Attachments: HADOOP-10322.patch, HADOOP-10322.patch,
> HADOOP-10322.patch, HADOOP-10322.patch, HADOOP-10322.patch, HADOOP-10322.patch
>
>
> It will be useful to have an ability to enumerate the principals stored in a
> keytab.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)