Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit d0cc825

Browse files
committed
Added readme
1 parent d4b7dee commit d0cc825

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

README.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
= nifi-webhook-authorizer
2+
3+
== Purpose
4+
The purpose of this is to serve as a generic webhook authorizer for Apache NiFi in order to be able to secure NiFi with for example the https://www.openpolicyagent.org/[Open Policy Agent] or similar tools.
5+
6+
== Installation
7+
The jar file needs to be provided on the CLASSPATH of NiFi. The easiest way to achieve this is to copy it to the `lib` directory in the install folder (not recommended to do this, but the easiest way).
8+
9+
== Configuration
10+
The authorizer can be configured in the authorizer.xml file of NiFis configuration directory.
11+
12+
----
13+
<authorizer>
14+
<identifier>webhook-authorizer</identifier>
15+
<class>tech.stackable.nifi.WebhookAuthorizer</class>
16+
<property name="Authorizaten Endpoint URL">http://localhost:8000</property>
17+
</authorizer>
18+
----
19+
20+
To make NiFi use this authorizer, it has to be referred to by name from the `nifi.properties` file:
21+
22+
----
23+
nifi.security.user.authorizer=webhook-authorizer
24+
----
25+
26+
Additionally an identity provider has to be configured, but this is outside the scope of this project.

README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)