Subscribe our channel for more videos youtube.com/@codingtechniques2220?si=kphuQ8XQGtjpPx8K src code link github.com/aliyusahaboadam/Admin_User_Registration_Login_Spring_Boot_Application
when I open mySQL work bench and create the table, the table is not there. I followed the code exactly. did anyone experience this and how did you fix it?
@@codingtechniques2220 when I created the DB on MySQL workbench and run the code it works but i can not open the table to see the string that was created in User.java. when i delete the DB and run the code an error pops up saying there is no user DB. so it picks it up but it can not open it
Thank you sir!!. For me everything is working fine except the success handler.. aftr entering correct details it redirects to /error It seems as if the success handler is not working Can u kindly assist
Hello, Sir! Hello guys. Well, I’m writing in a case of issue. I have configured security filter chain, but login request always redirects me to login page. By debugger I can’t get to the point where I should take user info by name from repository. But when I set login by default it works. Maybe someone had same issue ?
i thought about this myself not really connected to this tutorial. 1 way i can think of (have not tried it myself) would be when delivering the app it would be delivered with 1 admin account. And that admin user can create other admins or set others as admin otherwise all others would be normal users.
@@chiman75 you could simply make all users to USER by registration and set the needed one to admin (it gives ability to modify admin, you can change your admin if the person is not longer suitable for the ADMIN )
@@codingtechniques2220 my idea was to make some app features only visible to admin. Admin can there grant or revoke admin or other rights or elevate read write privileges on the pages only accessible n visible to admins.
set the user role as null provide statements that if the user is null then redirect him to USER URL. And you can used form to accept the roles of person and in this case you have no authourity over your data everyone will every role.
Subscribe our channel for more videos youtube.com/@codingtechniques2220?si=kphuQ8XQGtjpPx8K
src code link github.com/aliyusahaboadam/Admin_User_Registration_Login_Spring_Boot_Application
Video is slow and also Audio quality is poor else this, everything is on point. great content 👌
Thank you for your review, I really appreciate 👍
Thank You so much! The only tutorial that works for current version of spring security
Thank you
Still works?
Not sure, haven't used since but I would give it a try
Is it? Should I give A try?
really sir very very very very helpful video
Thanks I really appreciate
bro you are the best. The best infact
Thanks a lot bro 👍
thank you sir .
Thanks
Great video anyway, thanks to you
Thanks I really appreciate 🙏
Thank you sir
you are excellent!!
Thank you I really appreciate
Thank you for you help
Thanks a lot
when I open mySQL work bench and create the table, the table is not there. I followed the code exactly. did anyone experience this and how did you fix it?
You just have to create the DB and run the program, the table will automatically created
@@codingtechniques2220 when I created the DB on MySQL workbench and run the code it works but i can not open the table to see the string that was created in User.java. when i delete the DB and run the code an error pops up saying there is no user DB. so it picks it up but it can not open it
Great🎉
Thank you sir!!. For me everything is working fine except the success handler.. aftr entering correct details it redirects to /error
It seems as if the success handler is not working
Can u kindly assist
Join here and report chat.whatsapp.com/JMCCpFZeGTy9b4mQLVCRQO
Great Thank you,
i have one question here, if i want to hit the post/get request from postman what changes should i make?
Thanks in advance
Thank you, I think you can just call it without any changes
I cannot thank u enough!
Just a question ( i want the admin to have acces to the users pages too what should i add?) thanks in advance !
For the user endpoint in security config where you call hasRole methods just add comma and ADMIN eg hasRole(USER, ADMIN)
Hello sir, where u created user details and user details service class?? I'm unable to see ..
56: to 59:44
Is an interface provided by spring Security we just implements it
in this where is the Postmapping(/login) which you used in login.html file at form tag ????
There is no post mapping for login spring security automatically handles the case
Hello, Sir! Hello guys. Well, I’m writing in a case of issue. I have configured security filter chain, but login request always redirects me to login page. By debugger I can’t get to the point where I should take user info by name from repository. But when I set login by default it works. Maybe someone had same issue ?
Report it here in pictures chat.whatsapp.com/JMCCpFZeGTy9b4mQLVCRQO
i have a question, each time we register, we need fill in database with field role, it is not convinient
That's because the owner of the apps have to decide who is admin and who is not
How to set the role as USER by default after registration?
Thanks for the video though
You could simply set all the roles to users and change the needed one to admin in Database
How can i set role to USER? I am new to spring boot 😅@@codingtechniques2220
i thought about this myself not really connected to this tutorial. 1 way i can think of (have not tried it myself) would be when delivering the app it would be delivered with 1 admin account. And that admin user can create other admins or set others as admin otherwise all others would be normal users.
@@chiman75 you could simply make all users to USER by registration and set the needed one to admin (it gives ability to modify admin, you can change your admin if the person is not longer suitable for the ADMIN )
@@codingtechniques2220 my idea was to make some app features only visible to admin. Admin can there grant or revoke admin or other rights or elevate read write privileges on the pages only accessible n visible to admins.
Hello sir,Cannot resolve parameter name for user_dto error occurred how to resolve it
Report here chat.whatsapp.com/JMCCpFZeGTy9b4mQLVCRQO
Hi sir faceing same error
@@aniketnaphade1597 check the source code link github.com/aliyusahaboadam/Admin_User_Registration_Login_Spring_Boot_Application
hey my index.html is getting open directly even login page is also working fine.can you help me ?
report here in pictures chat.whatsapp.com/JMCCpFZeGTy9b4mQLVCRQO
Hello sir, i didn't catch how you resolve white level error please breif about this
By creating new authentication success handler and mapping for user and admin, the white lebel arror is test for login at path this "/"
Im getting login error
check this repository compare it with the code and check the tutorial github.com/aliyusahaboadam/Admin_User_Registration_Login_Spring_Boot_Application
Hello sir we are modifying the role of the person but how can I get user as default when the person is registered
set the user role as null provide statements that if the user is null then redirect him to USER URL.
And you can used form to accept the roles of person and in this case you have no authourity over your data everyone will every role.
@@codingtechniques2220 thank you sir
@@codingtechniques2220 Where should I handle this problem? securityconfig or customUserDetail?
Sir ,how to implement forgot password for the above project
here is the link for the forgot password Tutorial: czcams.com/video/lPu52kQ5Uuo/video.htmlsi=1MP0H4DqrKunUEy0
How to fetch, update and delete... please tell 🙌
Using JPA I will provide the JPA Tutorials in series