Skip to content

Commit

Permalink
Remove KsqlException from KsqlAuthorizationProvider interface
Browse files Browse the repository at this point in the history
  • Loading branch information
spena committed Jun 26, 2019
1 parent d469c0c commit 1d4fe5e
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

package io.confluent.ksql.rest.server.security;

import io.confluent.ksql.util.KsqlException;

import java.security.Principal;

/**
Expand All @@ -28,8 +26,7 @@ public interface KsqlAuthorizationProvider {
*
* @param user The user who is requesting access to the endpoint
* @param method The endpoint method used, i.e. POST, GET, DELETE
* @param path The endpoint path to access, i.e. "/ksql", "/ksql/terminate", "/query"
* @throws KsqlException for access denied or any other authorization error
* @param path The endpoint path to access, i.e. "/ksql", "/ksql/terminate", "/query"*
*/
void checkEndpointAccess(Principal user, String method, String path) throws KsqlException;
void checkEndpointAccess(Principal user, String method, String path);
}

0 comments on commit 1d4fe5e

Please sign in to comment.