| Package | Description |
|---|---|
| org.apache.nifi.authorization |
| Modifier and Type | Field and Description |
|---|---|
(package private) List<AccessPolicy> |
AbstractPolicyBasedAuthorizer.PoliciesUsersAndGroups.accessPolicies |
| Modifier and Type | Method and Description |
|---|---|
AccessPolicy |
ConfigurableAccessPolicyProvider.addAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy ensuring that multiple policies can not be added for the same resource and action.
|
AccessPolicy |
AbstractPolicyBasedAuthorizer.addAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy ensuring that multiple policies can not be added for the same resource and action.
|
AccessPolicy |
AccessPolicy.Builder.build() |
AccessPolicy |
ConfigurableAccessPolicyProvider.deleteAccessPolicy(AccessPolicy accessPolicy)
Deletes the given policy.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.deleteAccessPolicy(AccessPolicy policy)
Deletes the given policy.
|
protected abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.doAddAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy.
|
AccessPolicy |
AccessPolicyProvider.getAccessPolicy(String identifier)
Retrieves the policy with the given identifier.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.getAccessPolicy(String identifier)
Retrieves the policy with the given identifier.
|
AccessPolicy |
UsersAndAccessPolicies.getAccessPolicy(String resourceIdentifier,
RequestAction action)
Retrieves the set of access policies for a given resource and action.
|
AccessPolicy |
AccessPolicyProvider.getAccessPolicy(String resourceIdentifier,
RequestAction action)
Gets the access policies for the specified resource identifier and request action.
|
private AccessPolicy |
AbstractPolicyBasedAuthorizer.parsePolicy(Element element) |
AccessPolicy |
ConfigurableAccessPolicyProvider.updateAccessPolicy(AccessPolicy accessPolicy)
The policy represented by the provided instance will be updated based on the provided instance.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.updateAccessPolicy(AccessPolicy accessPolicy)
The policy represented by the provided instance will be updated based on the provided instance.
|
| Modifier and Type | Method and Description |
|---|---|
Set<AccessPolicy> |
AccessPolicyProvider.getAccessPolicies()
Retrieves all access policies.
|
abstract Set<AccessPolicy> |
AbstractPolicyBasedAuthorizer.getAccessPolicies()
Retrieves all access policies.
|
List<AccessPolicy> |
AbstractPolicyBasedAuthorizer.PoliciesUsersAndGroups.getAccessPolicies() |
private List<AccessPolicy> |
AbstractPolicyBasedAuthorizer.getSortedAccessPolicies() |
| Modifier and Type | Method and Description |
|---|---|
AccessPolicy |
ConfigurableAccessPolicyProvider.addAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy ensuring that multiple policies can not be added for the same resource and action.
|
AccessPolicy |
AbstractPolicyBasedAuthorizer.addAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy ensuring that multiple policies can not be added for the same resource and action.
|
private boolean |
AbstractPolicyBasedAuthorizer.containsGroup(Set<Group> userGroups,
AccessPolicy policy)
Determines if the policy contains one of the user's groups.
|
AccessPolicy |
ConfigurableAccessPolicyProvider.deleteAccessPolicy(AccessPolicy accessPolicy)
Deletes the given policy.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.deleteAccessPolicy(AccessPolicy policy)
Deletes the given policy.
|
protected abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.doAddAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy.
|
default boolean |
ConfigurableAccessPolicyProvider.isConfigurable(AccessPolicy accessPolicy)
Determines whether the specified access policy is configurable.
|
AccessPolicy |
ConfigurableAccessPolicyProvider.updateAccessPolicy(AccessPolicy accessPolicy)
The policy represented by the provided instance will be updated based on the provided instance.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.updateAccessPolicy(AccessPolicy accessPolicy)
The policy represented by the provided instance will be updated based on the provided instance.
|
private void |
AbstractPolicyBasedAuthorizer.writePolicy(XMLStreamWriter writer,
AccessPolicy policy) |
| Constructor and Description |
|---|
Builder(AccessPolicy other)
Initializes the builder with the state of the provided policy.
|
| Constructor and Description |
|---|
PoliciesUsersAndGroups(List<AccessPolicy> accessPolicies,
List<User> users,
List<Group> groups) |
Copyright © 2023 Apache NiFi Project. All rights reserved.