the motive is to integrate windows authentication for sql server using quarkus #38734
Replies: 4 comments 6 replies
-
@tsegismont Hi Thomas, do you have some recommendations ? |
Beta Was this translation helpful? Give feedback.
-
@git4rputuval are you talking about NTLM authentication? In this case, the Vert.x SQL Client for MSSQL does not support it yet. Feel free to file an issue, we may consider it, or I can guide you through the contribution process if you're interested. |
Beta Was this translation helpful? Give feedback.
-
Is there any implementation like the credential provider (https://quarkus.io/guides/credentials-provider) that we can use to get access to the connection pool and intercept it before the pool request is sent from the application server to database? |
Beta Was this translation helpful? Give feedback.
-
We are attaching a demo project which demonstrates our application architecture to a small extent to reproduce the errors we're getting. This project attachment is giving a runtime error whereas in our actual application its a compilation error, we are attaching both errors as snapshots, we expect that if either of the error is fixed the other would also be solved. Below is the demo application the compilation error in our actual application is the runtime error wrt this demo application is this is runtime error when we disable reactive datasource using quarkus.datasource.reactive=false in our application.properties file ![]() The solutions we used by far involved using @PersistenceUnit to attach our entity/model to a specific data source, made two different entities one to map if persistence is done using jdbc and depending on the flag value set in application.properties persistence through our data service layer would either happen from jdbc persistence side (jdbcEntity,jdbcService,jdbcRepo classes) else the usual/preffered reactive side. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Our quarkus version is 2.7.2.Final and mssql version is 4.2.4 (using the vertx-mssql-client-4.2.4 jar) but there is no proper documentation for how to let a user access the sql instance using windows authentication.
We did find a way for imperative programming but since we intend to do all of this with quarkus reactive we couldn't find any appropriate solution to this.
Beta Was this translation helpful? Give feedback.
All reactions