dimas-b commented on code in PR #2711:
URL: https://github.com/apache/polaris/pull/2711#discussion_r2402652975
##########
polaris-core/src/main/java/org/apache/polaris/core/storage/PolarisStorageIntegration.java:
##########
@@ -108,6 +108,14 @@ public abstract AccessConfig getSubscopedCreds(
@Nonnull Set<PolarisStorageActions> actions,
@Nonnull Set<String> locations);
+ /**
+ * @param credentialsRequired if {@code true} indicates that the caller
requires the returned
+ * {@link AccessConfig} to have storage credentials; if {@code false}
the returned {@link
+ * AccessConfig} may or may not contain credentials.
+ */
+ public void validateCredentials(
+ @Nonnull AccessConfig accessConfig, boolean credentialsRequired) {}
Review Comment:
Thanks for catching this and sorry about leftovers from previous code
revisions :sweat: ... removed.
##########
polaris-core/src/main/java/org/apache/polaris/core/persistence/transactional/TransactionalMetaStoreManagerImpl.java:
##########
@@ -2093,6 +2093,7 @@ private PolarisEntityResolver resolveSecurableToRoleGrant(
PolarisStorageIntegration<PolarisStorageConfigurationInfo>
storageIntegration =
ms.loadPolarisStorageIntegrationInCurrentTxn(callCtx,
reloadedEntity.getEntity());
+ storageIntegration.config();
Review Comment:
removed
##########
polaris-core/src/main/java/org/apache/polaris/core/storage/PolarisStorageIntegration.java:
##########
@@ -40,7 +40,7 @@ public PolarisStorageIntegration(T config, String
identifierOrId) {
this.integrationIdentifierOrId = identifierOrId;
}
- protected T config() {
Review Comment:
removed
--
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]