-
Notifications
You must be signed in to change notification settings - Fork 285
Upgrade to Spring Boot 3.4.1 #39
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
Conversation
| BasicAuthenticationFilter.class) | ||
| .authorizeHttpRequests(authorize -> authorize | ||
| .requestMatchers( | ||
| antMatcher(HttpMethod.GET, "/"), |
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.
Do you want to whitelist swagger endpoints as well in case we add support for that?
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 think it's better to add any swagger configuration only when swagger will eventually be added, so the starter project stays as clean as possible.
| return request.getHeader(AUTH_HEADER); | ||
| } | ||
| @Value("${app.name}") | ||
| private String APP_NAME; |
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.
this naming convention is wrong. this type of naming convention should be used only for static variables. for local variables, camel case is good enough
bfwg
left a comment
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.
hi @mirkoperillo , good stuff. The code indentation looks off to me. Can you change them back to 4 spaces per tab?
@bfwg do you have time to review this PR ? |
bfwg
left a comment
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 is an upgrade of project from Spring Boot 2.7 to Spring Boot 3.3
Some notes:
jakarta.servlet.httppackage, so I removed it from the projectjjwtlibrary to support the newjakarta.xml.bindpackage. In the new versionjjwtAPI changed a lot so I had to rewrite part of theTokenHelperclass.