hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10432) Refactor SSLFactory to expose static method to determine HostnameVerifier
Date Wed, 02 Apr 2014 23:53:15 GMT

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

Aaron T. Myers commented on HADOOP-10432:
-----------------------------------------

+1, the patch looks good to me. I agree there is no need for a test case for this change.

> Refactor SSLFactory to expose static method to determine HostnameVerifier
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-10432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10432
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 3.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: HADOOP-10432.patch
>
>
> The {{SSFactory.getHostnameVerifier()}} method is private and takes a configuration to
fetch a hardcoded property. Having a public method to resolve a verifier based on the provided
value will enable getting a verifier based on the verifier constant (DEFAULT, DEFAULT_AND_LOCALHOST,
STRICT, STRICT_IE6, ALLOW_ALL).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message