| Package | Description |
|---|---|
| org.apache.nifi.authorization | |
| org.apache.nifi.authorization.resource |
| Modifier and Type | Field and Description |
|---|---|
private RequestAction |
AuthorizationRequest.action |
private RequestAction |
AuthorizationRequest.Builder.action |
private RequestAction |
AccessPolicy.action |
private RequestAction |
AccessPolicy.Builder.action |
| Modifier and Type | Method and Description |
|---|---|
RequestAction |
AuthorizationRequest.getAction()
The action being taken against the Resource.
|
RequestAction |
AccessPolicy.getAction() |
static RequestAction |
RequestAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestAction |
RequestAction.valueOfValue(String action) |
static RequestAction[] |
RequestAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorizationRequest.Builder |
AuthorizationRequest.Builder.action(RequestAction action) |
AccessPolicy.Builder |
AccessPolicy.Builder.action(RequestAction action)
Sets the action for this builder.
|
AccessPolicy |
UsersAndAccessPolicies.getAccessPolicy(String resourceIdentifier,
RequestAction action)
Retrieves the set of access policies for a given resource and action.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
Authorizable.authorize(Authorizer authorizer,
RequestAction action,
NiFiUser user)
Authorizes the current user for the specified action on the specified resource.
|
default void |
Authorizable.authorize(Authorizer authorizer,
RequestAction action,
NiFiUser user,
Map<String,String> resourceContext)
Authorizes the current user for the specified action on the specified resource.
|
default AuthorizationResult |
Authorizable.checkAuthorization(Authorizer authorizer,
RequestAction action,
NiFiUser user)
Returns the result of an authorization request for the specified user for the specified action on the specified
resource.
|
default AuthorizationResult |
Authorizable.checkAuthorization(Authorizer authorizer,
RequestAction action,
NiFiUser user,
Map<String,String> resourceContext)
Returns the result of an authorization request for the specified user for the specified action on the specified
resource.
|
default boolean |
Authorizable.isAuthorized(Authorizer authorizer,
RequestAction action,
NiFiUser user)
Returns whether the current user is authorized for the specified action on the specified resource.
|
Copyright © 2016 Apache NiFi Project. All rights reserved.