webauthn4j / webauthn4j-spring-security

WebAuthn4J Extension for Spring Security
Apache License 2.0
195 stars 46 forks source link

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

Open cumtcool007 opened 1 month ago

cumtcool007 commented 1 month ago

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

ynojima commented 1 month ago

Please file an issue in English.

cumtcool007 commented 1 month ago

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

ynojima commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

ynojima commented 1 month ago

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 commented 1 month ago

ok ,thank you very very much