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

Xiaoyu Yao commented on HADOOP-13891:
-------------------------------------

The question here is whether a principal without realm it is a valid the 
Kerberos name. 
If yes, then we will need to fix this for KerberosName. Maybe adding an option 
for using default realm implicitly. Otherwise, we can close this one as won't 
fix. 

> KerberosName#KerberosName cannot parse principle without realm
> --------------------------------------------------------------
>
>                 Key: HADOOP-13891
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13891
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Xiaoyu Yao
>         Attachments: testKerberosName.patch
>
>
> Given a principal string like "HTTP/localhost", the returned KerberosName 
> object contains a null hostname and null realm name. The service name is 
> incorrectly parsed as whole as "HTTP/localhost".



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to