You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2019/07/11 07:04:00 UTC
[jira] [Created] (ATLAS-3329) Update usage of Servlets.getUserName
method to AtlasAuthorizationUtils.getCurrentUserName()
Nixon Rodrigues created ATLAS-3329:
--------------------------------------
Summary: Update usage of Servlets.getUserName method to AtlasAuthorizationUtils.getCurrentUserName()
Key: ATLAS-3329
URL: https://issues.apache.org/jira/browse/ATLAS-3329
Project: Atlas
Issue Type: Bug
Reporter: Nixon Rodrigues
Assignee: Nixon Rodrigues
There are instance in code where User name is retrieved from httpServletRequest.getRemoteUser() via Servlets.getUserName method.
If request are coming from proxy then doAs user is impersonate as valid Atlas user, getting user name from remote will cause confusion.
So it make sense to update the usage of Servlets.getUserName to AtlasAuthorizationUtils.getCurrentUserName().
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)