-
Notifications
You must be signed in to change notification settings - Fork 10
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
Spring3 migration #479
Spring3 migration #479
Conversation
- Changed spring boot from 2.7 to 3.0 - Removed javax.el-api dependency (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#jakarta-ee) - Updaed thymeleaf to use spring6 and springsecurity6
Renamed authorizeRequests, antMatchers and ignoringMatchers to new versions - https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter - https://stackoverflow.com/questions/74609057/how-to-fix-spring-authorizerequests-is-deprecated
TODO: Check whether this breaks anything
TODO: Figure out how to keep this constraint?
CodeQL will not work for now I think as per github/codeql-action#1855 Leading slashes should still be fixed, as the current path (see WebConfiguration.java) is already deprecated: 'The method setUseTrailingSlashMatch(Boolean) from the type PathMatchConfigurer is deprecated since version 6.0' Beyond that, I think the migration is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Reviewed all changes and tested locally.
Please make a new issue for configurer.setUseTrailingSlashMatch(true);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not test the login with Connect, because its currently not running on my localhost. Can you make sure this still works?
Replace deprecated thymeleaf syntax
I tested it with connect, and this still works as expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 2785546.
This reverts commit 2785546.
TODO: