hanicz opened a new pull request, #1303: URL: https://github.com/apache/knox/pull/1303
…ory so KnoxCLI is able to load it [KNOX-3375](https://issues.apache.org/jira/browse/KNOX-3375) - KnoxCLI fails if rolesLookupInterceptor is enabled ## What changes were proposed in this pull request? - Threaded the active `GatewayServices` instance from `LdapServiceFactory` through `KnoxLDAPService` → `KnoxLDAPServerManager` → `InterceptorFactory` → `LDAPRolesLookupInterceptorFactory`, so the factory no longer depends on the null-under-knoxcli static `GatewayServer.getGatewayServices()`. This lets knoxcli commands succeed when rolesLookup is configured, since `CLIGatewayServices` already registers `LDAP_ROLES_LOOKUP_SERVICE`. ## How was this patch tested? Enabled rolesLookupInterceptor and tested knoxcli, unit tests ## Integration Tests N/A ## UI changes N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
