Skip to main content
0 votes
0 answers
40 views

I'm learning the spring security module. Here is my security configuration class: @Configuration @EnableWebSecurity public class SecurityConfiguration { @Bean public SecurityFilterChain ...
9527 snl's user avatar
Advice
0 votes
3 replies
72 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 ...
capibara245's user avatar
Best practices
0 votes
4 replies
64 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 ...
amphibient's user avatar
  • 31.8k
2 votes
2 answers
187 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 ...
Max's user avatar
  • 1,058
0 votes
1 answer
64 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 ...
Andreas's user avatar
  • 65
Best practices
0 votes
1 replies
106 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 ...
Mayank Grover's user avatar
0 votes
0 answers
151 views

My enterprise application code was working earlier for a long time, but without any change to it the SSO Logout for the SAML protocol using Keycloak (version 26.0.0) has stopped working. Basically, I ...
ashtrix-001's user avatar
0 votes
2 answers
131 views

Updated the question with my observations. I am trying to understand Spring Security and i am stuck when implementing tests with @WebMvcTest. I have a Spring Boot 4.0.3 project with spring-boot-...
Saravana Kumar M's user avatar
0 votes
0 answers
63 views

I am trying to understand Spring Security and i am stuck when implementing the integration test. I am using Spring Boot 4.0.3 with spring-boot-starter-webmvc, spring-boot-starter-webmvc-test, spring-...
Saravana Kumar M's user avatar
0 votes
1 answer
85 views

I have a PATCH endpoint for updating user details. My UserRequest record has @Pattern and @NotBlank on the password field. I am facing two problems, one before using validation groups and one after. ...
Mayank Grover's user avatar
Best practices
0 votes
6 replies
151 views

I am building a Spring Boot application with Spring Security and JPA. I have seen two approaches for implementing UserDetails and I am confused about which one to use and why. Approach 1: @Entity @...
Mayank Grover's user avatar
Advice
0 votes
1 replies
110 views

I'm really new to Spring Boot and especially Spring Security. I build the backend for a Project and I can't get my head around the concept of Security. I know what it does and what I really need. I ...
joel.'s user avatar
  • 3
Best practices
0 votes
2 replies
74 views

I recently upgraded Spring Boot from 3.3.0 to 3.3.11 (which also upgrades Spring Security to 6.3.x), and I’m trying to understand whether there were any behavior changes related to CORS handling in ...
jay91537's user avatar
0 votes
1 answer
65 views

Type Mismatch: Incompatible Reference for DaoAuthenticationProvider in Spring Security 6 and not able to use the setUserDetailsService() method on reference on the DaoAuthenticationProvider reference. ...
Vivek tiwari's user avatar
1 vote
1 answer
162 views

I'm using Oauth2 resource server because the request will come from the FrontEnd, I never saw this error before and I try to debbug but it dont work. At first I thought It was coming from cors but it ...
Ian Leme's user avatar

15 30 50 per page
1
2 3 4 5
1943