[
https://issues.apache.org/jira/browse/HADOOP-8787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453531#comment-13453531
]
Ted Malaska commented on HADOOP-8787:
-------------------------------------
Thank you Todd, I didn't see that. I will get an updated patch soon.
Also after reviewing the init method in AuthenticationFilter, I have a question
about line 154
Line 154 looks like it will never return the config value for SIGNATURE_SECRET.
Because it follows line 129.
129 Properties config = getConfiguration(configPrefix, filterConfig);
154 String signatureSecret = config.getProperty(configPrefix +
SIGNATURE_SECRET);
I'm going to make a test to check to see if signature secret is getting
populated in the case of a prefix.
> KerberosAuthenticationHandler should include missing property names in
> configuration
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-8787
> URL: https://issues.apache.org/jira/browse/HADOOP-8787
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 1.0.3, 3.0.0, 2.0.1-alpha
> Reporter: Todd Lipcon
> Assignee: Ted Malaska
> Priority: Minor
> Labels: newbie
> Attachments: HADOOP-8787-0.patch, HADOOP-8787-1.patch
>
>
> Currently, if the spnego keytab is missing from the configuration, the user
> gets an error like: "javax.servlet.ServletException: Principal not defined in
> configuration". This should be augmented to actually show the configuration
> variable which is missing. Otherwise it is hard for a user to know what to
> fix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira