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

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

                Author: ASF GitHub Bot
            Created on: 12/Jun/26 17:29
            Start Date: 12/Jun/26 17:29
    Worklog Time Spent: 10m 
      Work Description: handavid commented on code in PR #1258:
URL: https://github.com/apache/knox/pull/1258#discussion_r3405123357


##########
gateway-server/src/test/java/org/apache/knox/gateway/services/ldap/interceptor/LDAPRolesLookupInterceptorTest.java:
##########
@@ -68,14 +90,95 @@ public void testModifyEntryNoMemberOfNoRoles() throws 
Exception {
         assertNull(modifiedEntry.get("memberOf"));
     }
 
-    private LDAPRolesLookupInterceptor createInterceptor() {
+    @Test
+    public void testRolesLookupNoBypass() throws Exception {

Review Comment:
   done





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

    Worklog Id:     (was: 1024943)
    Time Spent: 3h 50m  (was: 3h 40m)

> Enable KnoxLdapService Role Lookup to return either Roles or Groups
> -------------------------------------------------------------------
>
>                 Key: KNOX-3340
>                 URL: https://issues.apache.org/jira/browse/KNOX-3340
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>            Reporter: David Han
>            Assignee: David Han
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> The KnoxLdapService, when configured with role lookup will replace all groups 
> in the resulting entries with roles. This Jira provides a mechanism for 
> clients to request the underlying groups instead of the roles. E.g., groups 
> would be needed for some service to admin/manage the mapping between groups 
> and roles.



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

Reply via email to