-
Notifications
You must be signed in to change notification settings - Fork 427
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
java.vendor name changed in openj9 #2139
Comments
The ibm login module should only be used on IBM Java 8, which contains the following settings: This is different from Semeru builds, which sets the following: and in some older Semeru builds of jdk8, jdk11 i.e. a test for the ibm login module could be if the system property |
Hi @krismarc, Thank you for bringing this to our attention. We'll look more into this, but you appear to be correct that there have been discrepancies with IBM within the driver. |
Just wanted to suggest that it would be more robust to probe for the thing you're actually concerned about (e.g. some specific com.ibm.security class which indicates the presence of the IBM Java 8 security implementation) rather than checking the vendor/vm property values and assuming that means something about the security implementation. Otherwise you make it hard for a vendor to change anything about their distribution... |
That's what I meant in the other issue. Having a substring of property checked doesn't look good to me and sounds like kind of antipattern. |
The fix is still in development and won't be looked at again until after the 12.4 GA release. |
Hi @Jeffery-Wasty - Please let's know when new version-12.4.0 of mssql-jdbc would be available for use? |
Hi @kadirchisty, The PR still needs changes, and development was halted until 12.4 release was finished. 12.4 will be out today, but the next release to include this fix will be 12.5 (release window to be discussed with team). The next stable release to include this should be early 2024. |
Is it possible to provide this fix early in a minor version? We had halted
java17 migration due to this Kerberos login issue and were hoping for this
fix availability soon in mssql-jdbc driver.
Please let us know..
Thanks!!
On Mon, Jul 31, 2023 at 9:01 PM Jeffery Wasty ***@***.***> wrote:
Hi @kadirchisty <https://github.com/kadirchisty>,
The PR still needs changes, and development was halted until 12.4 release
was finished. 12.4 will be out today, but the next release to include this
fix will be 12.5 (release window to be discussed with team). The next
*stable* release to include this should be early 2024.
—
Reply to this email directly, view it on GitHub
<#2139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT53JTE2MCYVLFZWZKM37YDXS7FU7ANCNFSM6AAAAAAY2SKBME>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Sent from my iPhone
|
We'll look into what we can do about the release schedule. If there is a hotfix for this release, it would include this fix. |
Hello @Jeffery-Wasty, Please let's know if the fix would be included in current release? Thanks! |
We're reviewing the PR now. The plan is for this to be included in a stable hotfix release, planned for August 24. |
This is now included in the 12.4.1 stable hotfix release, set to release on August 24. EDIT: The release is delayed to August 30. |
@Jeffery-Wasty - Wanted to check if 12.4.1 is released? |
Our apologies, the release had to be delayed a week. We're now planning on releasing on August 30. |
re-opening since fix is being reverted |
Shouldn't this be considered?
ibmruntimes/Semeru-Runtimes#30
$ ./java -XshowSettings:properties -version 2>&1 | grep java.vendor
ava.vendor = International Business Machines Corporation
java.vendor.url = https://www.ibm.com/semeru-runtimes
java.vendor.url.bug = https://github.com/ibmruntimes/Semeru-Runtimes/issues
java.vendor.version = 11.0.14.1
$ ./java -XshowSettings:properties -version 2>&1 | grep java.vendor
java.vendor = IBM Corporation
java.vendor.url = https://www.ibm.com/semeru-runtimes
java.vendor.url.bug = https://github.com/ibmruntimes/Semeru-Runtimes/issues
java.vendor.version = 17.0.6.0
mssql-jdbc/src/main/java/com/microsoft/sqlserver/jdbc/Util.java
Line 51 in 7e476f4
mssql-jdbc/src/main/java/com/microsoft/sqlserver/jdbc/JaasConfiguration.java
Line 30 in 7e476f4
if my understanding is correct, starting from version 17 your condition in isIBM method is met so driver stopped using com.sun.* libs and started looking for com.ibm.*
which leads to
javax.security.auth.login.LoginException (No LoginModule found for com.ibm.security.auth.module.Krb5LoginModule)
The text was updated successfully, but these errors were encountered: