falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-229) Enable SSL for Falcon REST API
Date Tue, 29 Apr 2014 02:29:14 GMT

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

Srikanth Sundarrajan commented on FALCON-229:
---------------------------------------------

No. It shouldn't be an issue. getToken can be done over SSL as included in the patch (added
below for quick ref)
{quote}
I doubt that since org.apache.falcon.client.FalconClient#getToken uses org.apache.hadoop.security.authentication.client.AuthenticatedURL
from hadoop-auth to authenticate and fetch a token.
...
This is an open issue IMO. Do you agree?
{quote}

{code}
            HttpsURLConnection.setDefaultSSLSocketFactory(getSslContext().getSocketFactory());
            new AuthenticatedURL(AUTHENTICATOR).openConnection(url, currentToken);
{code}


> Enable SSL for Falcon REST API
> ------------------------------
>
>                 Key: FALCON-229
>                 URL: https://issues.apache.org/jira/browse/FALCON-229
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.5
>            Reporter: Venkatesh Seetharam
>            Assignee: Srikanth Sundarrajan
>            Priority: Blocker
>              Labels: security
>             Fix For: 0.5
>
>         Attachments: FALCON-229-v2.patch, FALCON-229-v3.patch, FALCON-229-v4.patch, FALCON-229.patch
>
>
> Good to have but not in the first iteration.



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

Mime
View raw message