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 (4)

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 •
Collapse
 
patrick22 profile image
Patrick Varnier •

Sorry I can't seem to find the article in here. Is there a link? The body of the article is blank.
Thanks for any info you may have
Patrick Varnier
E-reputation Suisse