dimas-b commented on PR #3750:
URL: https://github.com/apache/polaris/pull/3750#issuecomment-4048665983

   Re: checked-and-egg problem: I believe only 
`checkAllowExternalCatalogCredentialVending()` needs to consider delegation 
mode parameters.
   
   Could we lift that logic into the "mode resolver"?
   
   Basically, if the client requests both REMOTE_SIGNING and VENDED_CREDENTIALS 
for a Federated catalog, we can simply drop VENDED_CREDENTIALS and continue 
execution. If only VENDED_CREDENTIALS is requested, it's an error (same as now).
   
   +1 to dropping `UNKNOWN` and using `Optional` where one specific mode is 
needed.


-- 
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