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

Benoy Antony commented on HADOOP-8381:
--------------------------------------

Thanks for the comments Aaron and Daryn.

The first part of the patch is redundant as replacePattern() has logic which 
sets fqdn to localhost's fqdn.
I am attaching the new patch which removes this redundant code. 
                
> Substitute _HOST with hostname  for HTTP principals 
> ----------------------------------------------------
>
>                 Key: HADOOP-8381
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8381
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.22.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>             Fix For: 0.22.1
>
>         Attachments: HOST-substitution-spnego.patch, 
> HOST-substitution-spnego.patch
>
>
> SPNEGO based Web Authentication uses HTTP/fqdn@REALM as the kerberos 
> principal for each host.
> Since it is difficult to modify the config for each host, a substitution 
> feature where _HOST gets replaced by fqdn is implemented. 
> The task is to provide similar feature for the kerberos principals used for 
> SPNEGO principals

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to