Uses of Enum Class
org.apache.nifi.authorization.RequestAction
Packages that use RequestAction
-
Uses of RequestAction in org.apache.nifi.authorization
Fields in org.apache.nifi.authorization declared as RequestActionModifier and TypeFieldDescriptionprivate final RequestAction
AccessPolicy.action
private RequestAction
AccessPolicy.Builder.action
private final RequestAction
AuthorizationRequest.action
private RequestAction
AuthorizationRequest.Builder.action
Methods in org.apache.nifi.authorization that return RequestActionModifier and TypeMethodDescriptionAccessPolicy.getAction()
AuthorizationRequest.getAction()
The action being taken against the Resource.static RequestAction
Returns the enum constant of this class with the specified name.static RequestAction
RequestAction.valueOfValue
(String action) static RequestAction[]
RequestAction.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.nifi.authorization with parameters of type RequestActionModifier and TypeMethodDescriptionAccessPolicy.Builder.action
(RequestAction action) Sets the action for this builder.AuthorizationRequest.Builder.action
(RequestAction action) AccessPolicyProvider.getAccessPolicy
(String resourceIdentifier, RequestAction action) Gets the access policies for the specified resource identifier and request action.UsersAndAccessPolicies.getAccessPolicy
(String resourceIdentifier, RequestAction action) Retrieves the set of access policies for a given resource and action. -
Uses of RequestAction in org.apache.nifi.authorization.resource
Methods in org.apache.nifi.authorization.resource with parameters of type RequestActionModifier and TypeMethodDescriptiondefault 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.