We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a655913 commit 1d1b13cCopy full SHA for 1d1b13c
core/src/main/java/org/apache/gravitino/connector/BaseCatalog.java
@@ -209,6 +209,8 @@ public void initAuthorizationPluginInstance(IsolatedClassLoader classLoader) {
209
}
210
try (BaseAuthorization<?> authorization =
211
BaseAuthorization.createAuthorization(classLoader, authorizationProvider)) {
212
+ // Load the authorization plugin with the class loader of the catalog.
213
+ // Because the JDBC authorization plugin may load JDBC driver using the class loader.
214
authorizationPlugin =
215
classLoader.withClassLoader(
216
cl ->
0 commit comments