OHDSI / OHDSI/DatabaseConnector

Support SQL Server Windows authentication on higher Java versions

Open
#333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
57
Forks
93
Avg merge
10d 12h
Merged PRs (30d)
1

Description

To use Windows authentication when connecting to SQL Server, DatabaseConnector needs to load the authentication DLL (from Java). Right now we use reflection here, but this is not allowed in higher Java versions (>8).

It should be possible to use System.load() instead, which would allow us to support higher Java versions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with java/org/ohdsi/databaseConnector/Authentication.java, especially the reflection-based DLL loading described in the issue. Check how the current loading path is used for SQL Server Windows authentication, then verify that replacing it with System.load supports higher Java versions without breaking the existing connection flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.