[ 
https://issues.apache.org/jira/browse/NIFI-15000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035656#comment-18035656
 ] 

Koldo commented on NIFI-15000:
------------------------------

Please correct me if I am mistaken, [~exceptionfactory].

 

There are two files for authentication: users.xml, where users and groups are 
stored, and authorisations.xml, where the permissions (policies) that these 
users/groups will have are defined.

 

Perhaps you have only defined users.xml and are missing authorizations.xml? 
Documentation explaining this: 
https://nifi.apache.org/nifi-docs/administration-guide.html#fileauthorizer

 

I don't know how you will do it, but if you define a user or group as ADMIN as 
an environment variable, you can then add users and groups with their 
permissions from the UI. More info: 
https://github.com/apache/nifi/blob/main/nifi-docker/dockerhub/sh/secure.sh#L72-L75

 

I hope this has inspired you to find a possible solution and that I haven't 
said anything wrong.

> Remove AzureGraphUserGroupProvider following OkHttp upgrade
> -----------------------------------------------------------
>
>                 Key: NIFI-15000
>                 URL: https://issues.apache.org/jira/browse/NIFI-15000
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Docker
>    Affects Versions: 2.5.0, 2.6.0
>            Reporter: Koldo
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I want to deploy the nifi 2.5.0 image with AzureGraphUserGroupProvider 
> configured in authorizers.xml.
> When I deploy it with this configuration, I get the following error:
> `Caused by: java.lang.ClassNotFoundException: okhttp3.internal.Util`
> Previously, I get the following in the logs: Access Token was returned
> I have seen that in task NIFI-14730, the Okhttp version was updated to 5.0.0 
> and the image requires version 3. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to