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)