[
https://issues.apache.org/jira/browse/KNOX-2762?focusedWorklogId=782541&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-782541
]
ASF GitHub Bot logged work on KNOX-2762:
----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jun/22 22:44
Start Date: 17/Jun/22 22:44
Worklog Time Spent: 10m
Work Description: harshiljhaveri opened a new pull request, #596:
URL: https://github.com/apache/knox/pull/596
## What changes were proposed in this pull request?
Issue arising from NPE due to whitespaces around delimiters in Composite
Authz names fixed with review comments addressed.
## How was this patch tested?
Specific unit/integration tests covering most possible test cases conducted.
Manual tests also conducted to ensure no build failures.
[Knox Contributing
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
reviewed.
Issue Time Tracking
-------------------
Worklog Id: (was: 782541)
Time Spent: 1.5h (was: 1h 20m)
> Whitespaces around delimiters in composite provider names gives
> NullPointerException
> ------------------------------------------------------------------------------------
>
> Key: KNOX-2762
> URL: https://issues.apache.org/jira/browse/KNOX-2762
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Harshil Jhaveri
> Assignee: Harshil Jhaveri
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: NPE gateway log.png
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> When giving space before the delimiter for composite.provider.names in
> composite authorisation provider. The topology deployment is failing and
> returning a null pointer exception.
> The topology state:
> {code:java}
> <provider>
> <role>authorization</role>
> <name>CompositeAuthz</name>
> <enabled>true</enabled>
> <param>
> <name>composite.provider.names</name>
> <value>AclsAuthz ,XASecurePDPKnox</value>
> </param>
> <param>
> <name>AclsAuthz.ranger.acl</name>
> <value>*;;</value> </param></provider>
> </provider>{code}
> {color:#e8bf6a}CC:{color} [~pzampino] [~smore] [~smolnar]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)