Mark,
My suggestion was that the Authoirzer.authorize(...) call utilizes the
results of the background thread.
Your custom authorizer does not utilize the file-based authorizer. I
believe your authorizer utilizes a file-access-policy-provider and/or a
file-user-group-provider. The supplemental au
Matt,
Option 2 is definitely the way we're headed. The custom authorizer utilizes
the file-based authorizer; it provides supplemental authorization when
adding a user to a policy, for example. However, it relies on the
authorizations.xml and users.xml files being correct when making
policy-based d
Bryan,
I'm not sure building something similar to the
ProcessorInitializationContext is possible without changes to the framework
itself. The framework is responsible for instantiating the initialization
context - in both processor and authorizer. However, the
AuthorizationInitializationContext is
Mark,
I think you have a couple options. First, just to provide a little more
detail for the basics of NiFi clustering with regards to
users/groups/policies. If you want to support _configurable_
users/groups/policies in NiFi UI then consistency is required. For
instance, if an admin wants to upda
Mark,
I don't believe there is currently anything like this in Authorizer API.
You would likely have to build something similar to what processors have...
In ProcessorInitializationContext they get access to a NodeType which
tells them if they are currently primary or not.
Then they can annotat
Is there a way to get access to Cluster configuration state? Specifically,
can a Node determine which Node - or simply "itself" - is the Cluster
Coordinator or the Primary Node?
Use case: I have a custom authorizer which includes a background thread to
re-authorize users and policies in case a use