Uses of Class
org.apache.nifi.authorization.AuthorizationResult
Packages that use AuthorizationResult
-
Uses of AuthorizationResult in org.apache.nifi.authorization
Fields in org.apache.nifi.authorization declared as AuthorizationResultModifier and TypeFieldDescriptionprivate static final AuthorizationResultAuthorizationResult.APPROVEDprivate static final AuthorizationResultAuthorizationResult.RESOURCE_NOT_FOUNDMethods in org.apache.nifi.authorization that return AuthorizationResultModifier and TypeMethodDescriptionstatic AuthorizationResultAuthorizationResult.approved()final AuthorizationResultAbstractPolicyBasedAuthorizer.authorize(AuthorizationRequest request) Authorizer.authorize(AuthorizationRequest request) Determines if the specified user/entity is authorized to access the specified resource within the given context.static AuthorizationResultAuthorizationResult.denied()Creates a new denied AuthorizationResult with a message indicating 'Access is denied'.static AuthorizationResultCreates a new denied AuthorizationResult with the specified explanation.static AuthorizationResultAuthorizationResult.resourceNotFound()Resource not found will indicate that there are no specific authorization rules for this resource.Methods in org.apache.nifi.authorization with parameters of type AuthorizationResultModifier and TypeMethodDescriptionvoidAuthorizationAuditor.auditAccessAttempt(AuthorizationRequest request, AuthorizationResult result) Audits an authorization request. -
Uses of AuthorizationResult in org.apache.nifi.authorization.resource
Methods in org.apache.nifi.authorization.resource that return AuthorizationResultModifier and TypeMethodDescriptiondefault AuthorizationResultAuthorizable.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 AuthorizationResultAuthorizable.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.