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

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

                Author: ASF GitHub Bot
            Created on: 10/Jul/26 12:49
            Start Date: 10/Jul/26 12:49
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #1303:
URL: https://github.com/apache/knox/pull/1303#issuecomment-4935444292

   ## Test Results
   36 tests   36 ✅  4s ⏱️
    3 suites   0 💤
    3 files     0 ❌
   
   Results for commit c6a801e7.
   
   
[test-results]:data:application/gzip;base64,H4sIAGrqUGoC/12Myw7CIBQFf6Vh7QJaCrf+jKE8khvbYnisjP8uomLr7sycZO7E4WIjOXfDqSMxY2pgclAJ/VaQFyxHqpf4wiVmrf/MFW/F0CacwuUgbAg+fEzIWyu+9iH4Fr9e5V2u8r6m/bpiKkC0UECZlTAC66dpkCMHIx0bhOMzBd7PmhkHnDyeNTFLn/8AAAA=
   




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

    Worklog Id:     (was: 1029115)
    Time Spent: 20m  (was: 10m)

> KnoxCLI fails if rolesLookupInterceptor is enabled
> --------------------------------------------------
>
>                 Key: KNOX-3375
>                 URL: https://issues.apache.org/jira/browse/KNOX-3375
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxCLI
>    Affects Versions: 3.0.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> CLIGatewayServices load the below services
> {code:java}
> addService(ServiceType.LDAP_ROLES_LOOKUP_SERVICE, 
> gatewayServiceFactory.create(this, ServiceType.LDAP_ROLES_LOOKUP_SERVICE, 
> config, options));
> addService(ServiceType.LDAP_SERVICE, gatewayServiceFactory.create(this, 
> ServiceType.LDAP_SERVICE, config, options)); {code}
> If the rolesLookupInterceptor is enabled it needs the below which results in 
> an NPE
>  
> {code:java}
>     protected LDAPRolesLookupService getLDAPRolesLookupService() {
>         final GatewayServices gatewayServices = 
> GatewayServer.getGatewayServices();
>         return 
> gatewayServices.getService(ServiceType.LDAP_ROLES_LOOKUP_SERVICE);
>     } {code}
> Even a simple create-alias fails



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

Reply via email to