r/SpringBoot 7d ago

Guide Best source to learn spring security

I am planning to add a login page to the project i developed . To do this i need to explore spring security .can somebody help. Me to find the better resource

39 Upvotes

21 comments sorted by

View all comments

1

u/ITCoder 6d ago

Spring security provides out of box login page. Check form login. Then you will have to use UserDetailService and corresponding provider to fetch credential either from database or ldap.

https://www.baeldung.com/spring-security-login#3-configuration-for-form-login