-
Notifications
You must be signed in to change notification settings - Fork 281
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
Upgrade to Spring Boot 3.4.1 #39
base: master
Are you sure you want to change the base?
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
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 ? |
This is an upgrade of project from Spring Boot 2.7 to Spring Boot 3.3
Some notes:
jakarta.servlet.http
package, so I removed it from the projectjjwt
library to support the newjakarta.xml.bind
package. In the new versionjjwt
API changed a lot so I had to rewrite part of theTokenHelper
class.