collado-mike commented on code in PR #465:
URL: https://github.com/apache/polaris/pull/465#discussion_r1854800984


##########
polaris-service/src/main/java/org/apache/polaris/service/PolarisApplication.java:
##########
@@ -226,7 +230,17 @@ public void run(PolarisApplicationConfig configuration, 
Environment environment)
         new PolarisCallContextCatalogFactory(
             entityManagerFactory, metaStoreManagerFactory, taskExecutor, 
fileIOFactory);
 
-    PolarisAuthorizer authorizer = new 
PolarisAuthorizerImpl(configurationStore);
+    ConcurrentHashMap<RealmContext, EntityCache> realmEntityCache = new 
ConcurrentHashMap<>();
+    PolarisGrantManager.Factory factory =
+        new EntityCacheGrantManager.EntityCacheGrantManagerFactory(

Review Comment:
   The `metastoreManagerFactory` passed to the constructor on the next line 
implements the `PolarisGrantManager.Factory`. The factory method is invoked by 
the `EntityCacheGrantManagerFactory` constructor here: 
https://github.com/apache/polaris/pull/465/files/3b10cb2021cecfc85dc93b2ed51ea3a4489439e4#diff-dec23d1ca2299b42bd2926a823cad0da6f0a8334ae5093346467f410280e77a2R69



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to