Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using multiple JAAS configurations and override the configuration per connection properties #254

Merged

Conversation

pierresouchay
Copy link
Contributor

@pierresouchay pierresouchay commented Apr 18, 2017

We also set a different default LoginConfig for IBM JVM, so it should work well with user-provided
passwords and username for Kerberos.

Should solve #66 for IBM JVM.

…on per connection properties.

We also set a different default LoginConfig for IBM JVM, so it should work well with user-provided
passwords and username for Kerberos.

Should solve microsoft#66 for IBM JVM.
@codecov-io
Copy link

codecov-io commented Apr 18, 2017

Codecov Report

Merging #254 into dev will decrease coverage by <.01%.
The diff coverage is 7.4%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev     #254      +/-   ##
============================================
- Coverage     34.34%   34.33%   -0.01%     
+ Complexity     1553     1548       -5     
============================================
  Files           101      102       +1     
  Lines         23656    23644      -12     
  Branches       3878     3870       -8     
============================================
- Hits           8124     8119       -5     
+ Misses        13936    13928       -8     
- Partials       1596     1597       +1
Flag Coverage Δ Complexity Δ
#JDBC41 34.23% <7.4%> (+0.03%) 1542 <0> (-1) ⬇️
#JDBC42 34.21% <7.4%> (-0.03%) 1543 <0> (-3)
Impacted Files Coverage Δ Complexity Δ
...om/microsoft/sqlserver/jdbc/SQLServerResource.java 100% <ø> (ø) 4 <0> (ø) ⬇️
...om/microsoft/sqlserver/jdbc/JaasConfiguration.java 0% <0%> (ø) 0 <0> (?)
.../microsoft/sqlserver/jdbc/SQLServerDataSource.java 43.8% <0%> (-0.49%) 61 <0> (ø)
...m/microsoft/sqlserver/jdbc/KerbAuthentication.java 0% <0%> (ø) 0 <0> (ø) ⬇️
.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java 73.79% <100%> (+0.15%) 25 <0> (ø) ⬇️
...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java 26.12% <0%> (-0.42%) 183% <0%> (-4%)
...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java 46.32% <0%> (+0.07%) 193% <0%> (-1%) ⬇️
...om/microsoft/sqlserver/jdbc/ReaderInputStream.java 47.19% <0%> (+2.24%) 16% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18a9265...dfc1567. Read the comment docs.

@Suraiya-Hameed Suraiya-Hameed self-requested a review April 19, 2017 16:41
@v-nisidh v-nisidh added Work in Progress The pull request is a work in progress PR Under Review and removed PR Under Review Work in Progress The pull request is a work in progress labels Apr 19, 2017
@Suraiya-Hameed Suraiya-Hameed removed their request for review April 24, 2017 22:27
@Suraiya-Hameed
Copy link
Contributor

Thanks @pierresouchay! Commits that were already in the dev branch got added to this PR when I submitted few changes. Can you rebase the code? I for some reason don't have permission.

@pierresouchay
Copy link
Contributor Author

@v-suhame DONE

@Suraiya-Hameed
Copy link
Contributor

Perfect! Thanks for contributing @pierresouchay!

@Suraiya-Hameed Suraiya-Hameed merged commit 148b21d into microsoft:dev Apr 26, 2017
@pierresouchay
Copy link
Contributor Author

@v-suhame cool!

Does it solves #66 with IBM JVM?

@Suraiya-Hameed
Copy link
Contributor

Yes, it did solve #66 :)

@v-nisidh v-nisidh added this to the 6.1.7 milestone Apr 28, 2017
@pierresouchay pierresouchay deleted the multiple_jaas_config_names branch May 9, 2017 09:16
@lilgreenbird lilgreenbird added this to Closed/Merged PRs in MSSQL JDBC Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSSQL JDBC
  
Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

None yet

5 participants