I am working in a jee maven project that needs to make a JDBC connection to SqlServer, using windows authentication.
To achieve that, I need to have the "sqljdbc_auth.dll" in my java.library.path .
I tried multiple solutions, none of them worked:
- maven_surefire_plugin to modify the property path.
- System.setProperty("java.library.path", "..."): this changed the property, but the connection didn't succeed telling me that the driver isn't configured for integratedSecurity connection.
- Add the dll to a lib folder in Web_Inf & set the "Native Library_Path" of the maven dependency sqljdbc.
- Add the dll to the bin folder in the "wildfly" server: gave me an exception: Exception Access Violation (fatal)
I appreciate any help, thank's in advance.