Spring Security 6: Users with roles for authorization and authentication in Spring Boot 3 & Java 17

preview_player
Показать описание
Spring Security helps us authenticate and authorize users in Java web applications.
Spring Security is a powerful and complex framework.
In this tutorial I show how to manage users and give authorization based user's roles.

All details and links can be found in my German blog:

Spring Security beginners should check first:

Trainings about Spring in German language:
Рекомендации по теме
Комментарии
Автор

Thank you so much Sir, you saved my day :)

PhanTanThangTH
Автор

hey there, since @WebSecurityConfigurerAdapter deprecated, i couldn't find any tutorial on the internet except yours. i don't know single of it. also the antMatchers, etc., lots of deprecated. where do i start? can you help?

lhomme_flaneur
Автор

Excellent video and explanation! Could you show how to use Keycloak and oauth2 to login with Spring Security in a next video?

valmirknasel
Автор

formLogin() is depricated, what's the next alternative ? When I set the configuration It works but it doesn't give the form to insert username and password ? any solution ? Thank's for your website it's beneficial

peli