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

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

                Author: ASF GitHub Bot
            Created on: 24/Jun/22 20:04
            Start Date: 24/Jun/22 20:04
    Worklog Time Spent: 10m 
      Work Description: harshiljhaveri opened a new pull request, #600:
URL: https://github.com/apache/knox/pull/600

   ## What changes were proposed in this pull request?
   
   The Provider Names Parse Method handles the case where no provider names or 
blank or empty provider names are provided.
   ## How was this patch tested?
   
   Comprehensive unit tests written. Also manually tested
   
   [Knox Contributing 
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
 reviewed.
   




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

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

> When no values are mentioned in the Composite Provider Names it throws a 
> NullPointer
> ------------------------------------------------------------------------------------
>
>                 Key: KNOX-2763
>                 URL: https://issues.apache.org/jira/browse/KNOX-2763
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Harshil Jhaveri
>            Priority: Minor
>         Attachments: NPE-1.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When giving no value for composite.provider.names in composite authorization 
> provider. The topology deployment is failing and returning a null pointer 
> exception.
> The topology state:
> {color:#e8bf6a}<provider>
> {color}{color:#e8bf6a} <role>{color}authorization{color:#e8bf6a}</role>
> {color}{color:#e8bf6a} <name>{color}CompositeAuthz{color:#e8bf6a}</name>
> {color}{color:#e8bf6a} <enabled>{color}true{color:#e8bf6a}</enabled>
> {color}{color:#e8bf6a} <param>
> {color}{color:#e8bf6a} 
> <name>{color}composite.provider.names{color:#e8bf6a}</name>
> {color}{color:#e8bf6a} <value>{color}{color:#e8bf6a}</value>
> {color}{color:#e8bf6a} </param>
> {color}{color:#e8bf6a} <param>
> {color}{color:#e8bf6a} <name>{color}AclsAuthz.ranger.acl{color:#e8bf6a}</name>
> {color}{color:#e8bf6a} <value>{color}*;*;*{color:#e8bf6a}</value>
> {color}{color:#e8bf6a} </param>
> {color}{color:#e8bf6a}</provider>{color}
> CC: [~smore] [~pzampino] [~smolnar]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to