Interface ClusterLinkAuthorizer
public interface ClusterLinkAuthorizer
Authorizer API for cluster link operations.
-
Method Summary
Modifier and TypeMethodDescriptionauthorizeClusterLink(RequestContext requestContext, String operationName, String linkName, boolean logIfAllowed, boolean logIfDenied) Performs authorization for a `ClusterLink` operation on a specific link and returns the result of the authorization.
-
Method Details
-
authorizeClusterLink
AuthorizeResult authorizeClusterLink(RequestContext requestContext, String operationName, String linkName, boolean logIfAllowed, boolean logIfDenied) Performs authorization for a `ClusterLink` operation on a specific link and returns the result of the authorization.- Parameters:
requestContext- Request context including principal and additional context for auditingoperationName- The `ClusterLink` operation name being authorized, for example `Describe`.linkName- The cluster-link name being authorized.logIfAllowed- Whether to emit an audit log entry when the operation is allowed.logIfDenied- Whether to emit an audit log entry when the operation is denied.- Returns:
- Authorization result for the operation.
-