Spring Builders

Shardul Lavekar
Shardul Lavekar

Posted on

Getting started with Spring Security

We have written a guide on integrating Spring Security with Spring Boot 3, Spring Data JPA, and PostgreSQL. Check it out and share your thoughts. Up next: advanced topics like role-based access, JWTs, and OAuth2 social login.

Your feedback is welcome!

Top comments (3)

Collapse
 
michael_isvy_13067a826322 profile image
Michael Isvy

it's a nice article, very well written!

A very minor point is that you might want to use a delegating password encoder, so you can support multiple password encoding algorithms:

@Bean
    PasswordEncoder passwordEncoder() {
        return PasswordEncoderFactories.createDelegatingPasswordEncoder();
    }
Enter fullscreen mode Exit fullscreen mode
Collapse
 
shardul profile image
Shardul Lavekar

thanks for noticing this Micheal, will edit this.

Collapse
 
shardul profile image
Shardul Lavekar