| Package | Description |
|---|---|
| org.apache.nifi.authorization | |
| org.apache.nifi.authorization.resource |
| Modifier and Type | Field and Description |
|---|---|
private static AuthorizationResult |
AuthorizationResult.APPROVED |
private static AuthorizationResult |
AuthorizationResult.RESOURCE_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationResult |
AuthorizationResult.approved() |
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) |
static AuthorizationResult |
AuthorizationResult.denied()
Creates a new denied AuthorizationResult with a message indicating 'Access is denied'.
|
static AuthorizationResult |
AuthorizationResult.denied(String explanation)
Creates a new denied AuthorizationResult with the specified explanation.
|
static AuthorizationResult |
AuthorizationResult.resourceNotFound()
Resource not found will indicate that there are no specific authorization rules for this resource.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2016 Apache NiFi Project. All rights reserved.