spring-boot-refresh-token-jwt icon indicating copy to clipboard operation
spring-boot-refresh-token-jwt copied to clipboard

Please upgrade to Spring Boot 3.0.0 with Spring Security 6.x

Open donhuvy opened this issue 3 years ago • 3 comments

Please upgrade to Spring Boot 3.0.0 with Spring Security 6.x

public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

cannot work with Spring Boot 3.0.0 . See https://stackoverflow.com/questions/74667235/spring-security-6-when-upgrade-to-spring-boot-3-org-springframework-security-a

and

https://stackoverflow.com/questions/74666596/how-to-fix-error-of-websecurityconfigureradapter-when-upgrade-to-spring-boot-3-0

Thank you very much!

donhuvy avatar Dec 03 '22 20:12 donhuvy

Hi Vy, please update latest commit in which, WebSecurityConfigurerAdapter is not used.

https://github.com/bezkoder/spring-boot-refresh-token-jwt/commit/20c3567c45232fbc1cc03170a432e20cad0a2cf6#diff-276245e39351786175bf81208d9ea7709fd3c84798d8a707d37820002a085734

tienbku avatar Dec 04 '22 05:12 tienbku

Can you upgrade to Spring Boot 3.0.0 by yourself. https://github.com/bezkoder/spring-boot-refresh-token-jwt/blob/master/src/main/java/com/bezkoder/spring/security/jwt/models/User.java#L6 now use jakarta ee, and so much change.

donhuvy avatar Dec 04 '22 10:12 donhuvy

I send you a pull request https://github.com/bezkoder/spring-boot-refresh-token-jwt/pull/3

donhuvy avatar Dec 04 '22 11:12 donhuvy