public interface ManagedAuthorizer extends Authorizer
| Modifier and Type | Method and Description |
|---|---|
void |
checkInheritability(String proposedFingerprint)
When the fingerprints are not equal, this method will check if the proposed fingerprint is inheritable.
|
void |
forciblyInheritFingerprint(String fingerprint)
Parses the fingerprint and determines whether or not the fingerprint can be inherited in the same manner as
inheritFingerprint(String). |
AccessPolicyProvider |
getAccessPolicyProvider()
Returns the AccessPolicy provider for this managed Authorizer.
|
String |
getFingerprint()
Returns a fingerprint representing the authorizations managed by this authorizer.
|
void |
inheritFingerprint(String fingerprint)
Parses the fingerprint and adds any users, groups, and policies to the current Authorizer.
|
authorize, initialize, onConfigured, preDestructionString getFingerprint() throws AuthorizationAccessException
AuthorizationAccessException - if there was an unexpected error performing the operationvoid inheritFingerprint(String fingerprint) throws AuthorizationAccessException
fingerprint - the fingerprint that was obtained from calling getFingerprint() on another Authorizer.AuthorizationAccessException - if there was an unexpected error performing the operationvoid forciblyInheritFingerprint(String fingerprint) throws AuthorizationAccessException
inheritFingerprint(String). If so, will inherit as such.
Otherwise, a backup of the existing policy provider will be made, if possible, and the policies will be replaced with those in the given fingerprint.fingerprint - the fingerprint to replace the existing policies withAuthorizationAccessException - if unable to perform the operationvoid checkInheritability(String proposedFingerprint) throws AuthorizationAccessException, UninheritableAuthorizationsException
proposedFingerprint - the proposed fingerprintAuthorizationAccessException - if there was an unexpected error performing the operationUninheritableAuthorizationsException - if the proposed fingerprint was uninheritableAccessPolicyProvider getAccessPolicyProvider()
Copyright © 2023 Apache NiFi Project. All rights reserved.