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

请教下哪个版本支持jdk11的呀 #1550

Open
cumtcool007 opened this issue Oct 9, 2024 · 9 comments
Open

请教下哪个版本支持jdk11的呀 #1550

cumtcool007 opened this issue Oct 9, 2024 · 9 comments

Comments

@cumtcool007
Copy link

最新的版本都是jdk11的,我们项目中目前还都是jdk11,我需要使用哪个包可支持jdk11

@ynojima
Copy link
Member

ynojima commented Oct 11, 2024

Please file an issue in English.

@cumtcool007
Copy link
Author

The latest version supports JDK17, and currently our project is still using JDK11. Which package do I need to use to support JDK11

@ynojima
Copy link
Member

ynojima commented Oct 12, 2024

Sorry for not updating the documentation.
From WebAuthn4J Spring Security 0.9.0.RELEASE, it depends Spring Security 6.0 or later, which requires JDK17.
Please use WebAuthn4J Spring Security 0.8.0.RELEASE if you are using Spring Security 5.x or before and JDK 11.

@cumtcool007
Copy link
Author

thanks,webauthn4j latest version supports JDK15(I'm not sure if it's true ), and currently our project is still using JDK11. Which package do I need to use to support JDK11

@ynojima
Copy link
Member

ynojima commented Oct 12, 2024

Are you asking which package to use? not which version to use?
If you plan to use it within an application secured by Spring Security, you use use WebAuthn4J Spring Security (webauthn4j-spring-security-core module). It provides useful classes to integrate webauthn4j with Spring Security.
If you plan to use it within a non Spring application, you need to use WebAuthn4J directly (webauthn4j-core module).

@cumtcool007
Copy link
Author

Yes, I want to introduce Java packages in Maven, but I don't know which version to switch to. The current project is JDK11

@cumtcool007
Copy link
Author

webauthn4j and https://github.com/webauthn4j/webauthn4j-spring-security
which version to switch to by Maven for jdk11

@ynojima
Copy link
Member

ynojima commented Oct 12, 2024

If you use webauthn4j-spring-security-core, please use its 0.9.0.RELEASE. Since webauthn4j-spring-security-core will depends webauthn4j-core, you don't need to introduce webauthn4j-core explicitly.

@cumtcool007
Copy link
Author

ok ,thank you very very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants