[ https://issues.apache.org/jira/browse/NIFI-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077055#comment-16077055 ]
ASF GitHub Bot commented on NIFI-4127: -------------------------------------- Github user pvillard31 commented on a diff in the pull request: https://github.com/apache/nifi/pull/1978#discussion_r125984210 --- Diff: nifi-docs/src/main/asciidoc/administration-guide.adoc --- @@ -464,6 464,17 @@ Another option for the UserGroupProvider is the LdapUserGroupProvider. By defaul * Group Name Attribute - Attribute to use to extract group name (i.e. cn). Optional. If not set, the entire DN is used. * Group Member Attribute - Attribute to use to define group membership (i.e. member). Optional. If not set group membership will not be calculated through the groups. Will rely on group member being defined through 'User Group Name Attribute' if set. Another option for the UserGroupProvider are composite implementations. This means that multiple sources/implementations can be configured and composed. For instance, an admin can configure users/groups to be loaded from a file and an directory server. There are two composite implementations, one that supports multiple UserGroupProviders and one that supports multiple UserGroupProviders and a single configurable UserGroupProvider. The CompositeUserGroupProvider will provide support for retrieving users and groups from multiple sources. * User Group Provider - The identifier of user group providers to load from. The name of each property must be unique, for example: "User Group Provider A", "User Group Provider B", "User Group Provider C" or "User Group Provider 1", "User Group Provider 2", "User Group Provider 3" The CompositeConfigurableUserGroupProvider will provide support for retrieving users and groups from multiple sources. Additionally, a single configurable user group provider is required. Users from the configurable user group provider are configurable, however users loaded from one of the User Group Provider [unique key] will not be. * Configurable User Group Provider - A configurable user group provider. --- End diff -- I would add an example or update the example below in the documentation to show the configuration of the CompositeConfigurableUserGroupProvider as I believe it'll be largely used. > Create a CompositeUserGroupProvider > ----------------------------------- > > Key: NIFI-4127 > URL: https://issues.apache.org/jira/browse/NIFI-4127 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions > Reporter: Matt Gilman > Assignee: Matt Gilman > > Create a CompositeUserGroupProvider to support loading users/groups from > multiple sources. This composite implementation should support > {noformat} > 0-1 ConfigurableUserGroupProvider > 0-n UserGroupProviders > {noformat} > Only a single ConfigurableUserGroupProvider can be supplied to keep these > sources/implementation details hidden from the end users. The > CompositeUserGroupProvider must be configured with at least 1 underlying > provider. -- This message was sent by Atlassian JIRA (v6.4.14#64029)