sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1775) Sqoop2: Migrate to URL parameter user.name instead of using header
Date Mon, 24 Nov 2014 07:20:12 GMT

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

Richard commented on SQOOP-1775:
--------------------------------

Add comment in Rb.
{code}
Neither System.getProperty("user.name"), nor request.getParameter(PseudoAuthenticator.USER_NAME)
is a good way to obtain user name.
The user name should be from AuthenticationHandler, after the verification of the token sent
from the http request.
After SQOOP-1776 (Delegation Token support for Authentication) finished, it could be get from
ugi.
For the time being, since it has blocked the integration test, please revert this patch or
change to hardcode (return "sqoop";) in function getUserName.
{code}

> Sqoop2: Migrate to URL parameter user.name instead of using header
> ------------------------------------------------------------------
>
>                 Key: SQOOP-1775
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1775
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-server
>    Affects Versions: 1.99.5
>            Reporter: Abraham Elmahrek
>            Assignee: Abraham Elmahrek
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1775.0.patch, SQOOP-1775.1.patch
>
>




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

Mime
View raw message