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

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

                Author: ASF GitHub Bot
            Created on: 09/Nov/26 20:20
            Start Date: 09/Nov/26 20:20
    Worklog Time Spent: 10m 
      Work Description: handavid opened a new pull request, #1501:
URL: https://github.com/apache/knox/pull/1501

   [KNOX-3561](https://issues.apache.org/jira/browse/KNOX-3561) - Null-check 
LDAP interceptor names configuration
   
   ## What changes were proposed in this pull request?
   
   Fix NPE if the interceptor names is null. The GatewayConfigImpl is modified 
to return empty list if the config is null or empty. The KnoxLDAPServerManager 
is also modified to handle null values from the GatewayConfig.
   
   ## How was this patch tested?
   
   Added unit tests.
   Manually started a gateway server with the `gateway.ldap.interceptor.names` 
omitted and verfied that the server starts
   
   ## Integration Tests
   no ITs added
   
   ## UI changes
   no UI changes
   




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

            Worklog Id:     (was: 1053637)
    Remaining Estimate: 0h
            Time Spent: 10m

> null-check interceptor configuration for ldap proxy
> ---------------------------------------------------
>
>                 Key: KNOX-3561
>                 URL: https://issues.apache.org/jira/browse/KNOX-3561
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 3.1.0
>            Reporter: David Han
>            Assignee: David Han
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We should null-check and skip interceptor setup if interceptor configurations 
> are not provided.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to