a2l007 commented on issue #8931: Make DruidAvaticaHandler extensible to support auth on mTLS JDBC requests URL: https://github.com/apache/incubator-druid/issues/8931#issuecomment-562301770 @jon-wei The request input stream could be modified to add the authentication result with a specific key so that it can be accessible from the `info` object in `DruidMeta.openConnection(final ConnectionHandle ch, final Map<String, String> info)` . In this case, there wouldn't be any change to the Druid SQL flow except in `DruidMeta.authenticateConnection`. Here, the context could be checked for the authentication result or else call `authenticateJDBCContext` with the context. The issue however is that modifying the request inputstream to add the authentication result to the request body isn't a clean approach and I'm wondering if there is a better way to do this.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
