[ 
https://issues.apache.org/jira/browse/KNOX-2839?focusedWorklogId=834717&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-834717
 ]

ASF GitHub Bot logged work on KNOX-2839:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Dec/22 09:15
            Start Date: 20/Dec/22 09:15
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on code in PR #681:
URL: https://github.com/apache/knox/pull/681#discussion_r1053077392


##########
gateway-release/home/conf/topologies/homepage.xml:
##########
@@ -60,6 +60,24 @@
          <role>identity-assertion</role>
          <name>Default</name>
          <enabled>true</enabled>
+         <!--
+         <param>
+            <name>haddop.proxyuser.impersonation.enabled</name>
+            <value>false</value>
+         </param>
+         <param>
+            <name>haddop.proxyuser.admin.users</name>
+            <value>*</value>
+         </param>
+         <param>
+            <name>hadoop.proxyuser.admin.groups</name>
+            <value>*</value>
+         </param>
+         <param>
+            <name>hadoop.proxyuser.admin.hosts</name>
+            <value>*</value>
+         </param>
+          -->

Review Comment:
   Done.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 834717)
    Time Spent: 5.5h  (was: 5h 20m)

> Refactor impersonation from KnoxToken service
> ---------------------------------------------
>
>                 Key: KNOX-2839
>                 URL: https://issues.apache.org/jira/browse/KNOX-2839
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Blocker
>             Fix For: 2.0.0
>
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> With KNOX-2714, end-users can create tokens on behalf of other users using 
> Hadoop's impersonation mechanism.
> The problem with the current implementation is that the proxyuser 
> authorization happens to be on service level, but it should be executed 
> sooner.
> As discussed offline with [~lmccay] and [~pzampino] we agreed on the 
> following:
>  * impersonation support should be done in Knox's identity assertion layer 
> and not in the services
>  * the proxuyser authorization in HadoopAuth filter should be left as-is. 
> When someone configures them in two places (HadoopAuth authentication and in 
> identity-assertion), a WARN-level message should indicate that one on the 
> identity-assertion level will be ignored.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to