Registration and Login with Spring Boot, Spring Security, Thymeleaf, Hibernate and MySQL - PART 7

preview_player
Показать описание
Registration and Login with Spring Boot, Spring Security, Thymeleaf, Hibernate and MySQL - PART 7
- Front-end implementation for Login Feature

Video Series:

#springboot #springsecurity #thymeleaf
Рекомендации по теме
Комментарии
Автор

Hey man, great tutorial! Firstly i want to advise some things, and after look on you git, and now i just say THX you for your job. You're great!

nikitaponomarenko
Автор

Superb👌 explanation, it's a real time explanation👌

sagarsri
Автор

Nice explanation.Simple, useful and awesome. Thank you sir.

gabrielrogath
Автор

Thank you for providing these wonderful videos. I was successfully able to perform the registration module. But, Login is not working. Could you please help me... how can I possibly check whether the password I am sending via login form is actually the same as the one stored in the DB in the encrypted form? Any guidance in this would be super helpful. Thank you

mayanksaxena
Автор

For anyone who gets the "Cannot pass a null GrantedAuthority collection" error, it seems like Spring Security requires some sort of role regardless of whether your app needs one or not. I tried to be cute and not implement any sort of role because my toy app doesn't need it, but now it looks like I'll need to go back and make changes.

exz
Автор

Hey I'm getting the same issue in
function
loadUserByUsername(String username)
It always got an empty String as a username.
We need to model attribute in the Main controller of the method login I'm unable to implement it . If anyone faced the same issue let me know.

bharaththalladi
Автор

i am getting error in login part as its showing invalid username and password, how to solve that

rohiniam
Автор

Teacher, do we really need that third table uer_roles?

oscargm
Автор

For those of you having difficulty with login check your HTML I found that copying his code works. I had my own login. html
But it doesn't log in the user

sedikbirrgez
Автор

Clear explanation but can't login.... In main controller we need to pass the argument for login but i don't know how to do it... Please make a video for that brother !!!

kogulnath
Автор

[Solved]

in function
loadUserByUsername(String username)
It always got empty String as username.

CT-rrno
Автор

how to disable Spring security login page by default?

aniljangir
Автор

Sir i ran the code but got the error in login says invalid username or help Sir

divyanshmishra