| Package | Description |
|---|---|
| org.apache.nifi.authorization |
| Modifier and Type | Method and Description |
|---|---|
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() |
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.deleteAccessPolicy(AccessPolicy policy)
Deletes the given policy.
|
protected abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.doAddAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy.
|
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.
|
private AccessPolicy |
AbstractPolicyBasedAuthorizer.parsePolicy(Element element) |
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 |
|---|---|
abstract Set<AccessPolicy> |
AbstractPolicyBasedAuthorizer.getAccessPolicies()
Retrieves all access policies.
|
private List<AccessPolicy> |
AbstractPolicyBasedAuthorizer.getSortedAccessPolicies() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.deleteAccessPolicy(AccessPolicy policy)
Deletes the given policy.
|
protected abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.doAddAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy.
|
private boolean |
AbstractPolicyBasedAuthorizer.policyExists(AccessPolicy checkAccessPolicy)
Checks if another policy exists with the same resource and action as the given policy.
|
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.
|
Copyright © 2016 Apache NiFi Project. All rights reserved.