You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/18 18:46:00 UTC
[jira] [Commented] (NIFIREG-119) Detect incorrect configuration
when using composite user group provider
[ https://issues.apache.org/jira/browse/NIFIREG-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330964#comment-16330964 ]
ASF GitHub Bot commented on NIFIREG-119:
----------------------------------------
GitHub user kevdoran opened a pull request:
https://github.com/apache/nifi-registry/pull/91
NIFIREG-119 Detect incorrect authorizers config
Adds stricter checks in AuthorizerFactory for unique ids within a
given type of provider and requires unique providers in composite
and composite-configurable user group providers. Failed validation
checks cause startup to fail. Adds test cases for these new rules.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevdoran/nifi-registry NIFIREG-119
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-registry/pull/91.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #91
----
commit 3a9f08d61aac6a0e040c24aecf73bfd300ac19dd
Author: Kevin Doran <kd...@...>
Date: 2018-01-18T18:28:33Z
NIFIREG-119 Detect incorrect authorizers config
Adds stricter checks in AuthorizerFactory for unique ids within a
given type of provider and requires unique providers in composite
and composite-configurable user group providers. Failed validation
checks cause startup to fail. Adds test cases for these new rules.
----
> Detect incorrect configuration when using composite user group provider
> -----------------------------------------------------------------------
>
> Key: NIFIREG-119
> URL: https://issues.apache.org/jira/browse/NIFIREG-119
> Project: NiFi Registry
> Issue Type: Improvement
> Reporter: Kevin Doran
> Assignee: Kevin Doran
> Priority: Minor
>
> We should be able to detect if the same user group provider is entered more than once in the composite user group provider and fail start up.
> Example config that should fail start up:
> <userGroupProvider>
> <identifier>composite-configurable-user-group-provider</identifier>
> <class>org.apache.nifi.registry.security.authorization.CompositeConfigurableUserGroupProvider</class>
> <property name="Configurable User Group Provider">file-user-group-provider</property>
> <property name="User Group Provider 1">file-user-group-provider</property>
> <property name="User Group Provider 2">ldap-user-group-provider</property>
> </userGroupProvider>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)