Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 0
0 answers
114 views

During obtaining the authentication token the following message appears in the Spring Boot application console. Cannot set the Security Context I think it's important that this message doesn't include ...
Score of 1
0 answers
110 views

I have a Spring Security configuration with a SecurityFilterChain that uses authorizeHttpRequests to permit certain endpoints like /user/register without authentication. However I also have a custom ...
Advice
0 votes
1 replies
87 views

Hello Spring Security team, I have a question regarding CVE-2026-22732. According to the advisory, the affected versions are listed as: 5.7.0 through 5.7.21 5.8.0 through 5.8.23 6.3.0 through 6.3....
Advice
0 votes
0 replies
67 views

I'm wondering if people have experience setting up an Spring Authserver that has MFA enabled using Spring Security 7.x.x. The goal is for a user to start the authorization grant type flow by accessing ...
Advice
0 votes
1 replies
65 views

I am a recently graduated student.I made a decision to become software developer,I know its weird because of current AI trend and impact on developers.But its not about that,I started learning java ...
Best practices
1 vote
1 replies
138 views

There are lots of good examples for how to configure Spring Boot for CORS online, but it seems to be very hard to find anything with an intersection of: Using the APIs in Spring Boot 3 rather than ...
Score of 1
1 answer
145 views

I am building a company-specific Spring Boot autoconfiguration. The code looks something like this: @AutoConfiguration @AutoConfigureBefore(SecurityAutoConfiguration.class) @...
Score of 0
1 answer
143 views

I have a Spring Boot REST API written in Kotlin using Keycloak with Spring Security for authentication and authorization. I want to expose one endpoint publicly but protect it with Cloudflare ...
Score of 0
1 answer
64 views

I have a setup where I use Keycloak for user authentication. I use Spring Boot and Spring Security. My backend successfully performs the authentication with Keycloak using authorization_code grant and ...
Score of 0
0 answers
53 views

I'm learning the spring security module. Here is my security configuration class: @Configuration @EnableWebSecurity public class SecurityConfiguration { @Bean public SecurityFilterChain ...
Advice
0 votes
2 replies
133 views

Is Spring framework 6.x compatible with Spring Security 7.x? I need to upgrade a servlet-based web application to the latest version of Spring Security, but due to some dependency limitations I can't ...
Best practices
0 votes
4 replies
82 views

I am working to adapt Spring Security v6 in my application and one of the GitHub projects I am using as a model has the following filterChain implementation in its @EnableWebSecurity Configuration ...
Score of 2
1 answer
463 views

I am migrating a Spring Boot 3.x application to use Java Virtual Threads. I have replaced my standard async executor with a virtual thread executor: @Bean public Executor taskExecutor() { return ...
Score of 0
1 answer
91 views

I'm implementing authentication with Auth0 in a Spring Boot application using the OAuth2 resource server. Everything works correctly locally, but after deploying to Azure App Service, I cannot access ...
Best practices
0 votes
1 replies
151 views

I am implementing JWT authentication with Spring Security. In this filter I validate the JWT, extract the email, and then load the user using UserDetailsService. @Component @RequiredArgsConstructor ...

15 30 50 per page
1
2 3 4 5
1940