| 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.
|
Group |
AbstractPolicyBasedAuthorizer.addGroup(Group group)
Adds a new group.
|
User |
AbstractPolicyBasedAuthorizer.addUser(User user)
Adds the given user.
|
AuthorizationResult |
Authorizer.authorize(AuthorizationRequest request)
Determines if the specified user/entity is authorized to access the specified resource within the given context.
|
AuthorizationResult |
AbstractPolicyBasedAuthorizer.authorize(AuthorizationRequest request) |
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.deleteAccessPolicy(AccessPolicy policy)
Deletes the given policy.
|
abstract Group |
AbstractPolicyBasedAuthorizer.deleteGroup(Group group)
Deletes the given group.
|
abstract User |
AbstractPolicyBasedAuthorizer.deleteUser(User user)
Deletes the given user.
|
protected abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.doAddAccessPolicy(AccessPolicy accessPolicy)
Adds the given policy.
|
abstract Group |
AbstractPolicyBasedAuthorizer.doAddGroup(Group group)
Adds a new group.
|
abstract User |
AbstractPolicyBasedAuthorizer.doAddUser(User user)
Adds the given user.
|
abstract Group |
AbstractPolicyBasedAuthorizer.doUpdateGroup(Group group)
The group represented by the provided instance will be updated based on the provided instance.
|
abstract User |
AbstractPolicyBasedAuthorizer.doUpdateUser(User user)
The user represented by the provided instance will be updated based on the provided instance.
|
abstract Set<AccessPolicy> |
AbstractPolicyBasedAuthorizer.getAccessPolicies()
Retrieves all access policies.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.getAccessPolicy(String identifier)
Retrieves the policy with the given identifier.
|
String |
AbstractPolicyBasedAuthorizer.getFingerprint()
Returns a fingerprint representing the authorizations managed by this authorizer.
|
abstract Group |
AbstractPolicyBasedAuthorizer.getGroup(String identifier)
Retrieves a Group by id.
|
abstract Set<Group> |
AbstractPolicyBasedAuthorizer.getGroups()
Retrieves all groups.
|
abstract User |
AbstractPolicyBasedAuthorizer.getUser(String identifier)
Retrieves the user with the given identifier.
|
abstract User |
AbstractPolicyBasedAuthorizer.getUserByIdentity(String identity)
Retrieves the user with the given identity.
|
abstract Set<User> |
AbstractPolicyBasedAuthorizer.getUsers()
Retrieves all users.
|
abstract UsersAndAccessPolicies |
AbstractPolicyBasedAuthorizer.getUsersAndAccessPolicies()
Returns the UserAccessPolicies instance.
|
void |
AbstractPolicyBasedAuthorizer.inheritFingerprint(String fingerprint)
Parses the fingerprint and adds any users, groups, and policies to the current Authorizer.
|
abstract AccessPolicy |
AbstractPolicyBasedAuthorizer.updateAccessPolicy(AccessPolicy accessPolicy)
The policy represented by the provided instance will be updated based on the provided instance.
|
Group |
AbstractPolicyBasedAuthorizer.updateGroup(Group group)
The group represented by the provided instance will be updated based on the provided instance.
|
User |
AbstractPolicyBasedAuthorizer.updateUser(User user)
The user represented by the provided instance will be updated based on the provided instance.
|
Copyright © 2016 Apache NiFi Project. All rights reserved.