Register ,Login & Logout Using Spring boot,Security, MVC, Data JPA & Thymeleaf | Spring Boot Project
Register ,Login & Logout Using Spring Boot, Security, MVC, Data JPA & Thymeleaf | Spring Boot Project
----------------------------------
Source Code - www.onhandtrick.com/register-...
Link :-
👉 Instagram : / be_coder_
👉 Facebook : / becoderpavy
👉 Telegram : t.me/becoder_pavy
👉 Email : daspabitra55@gmail.com
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Пікірлер: 129
Very help-full learn many things from u in this tutorial keep post new videos practical use...
Bahut badhiya samjhaya hai aapne.
Genuinely bro all your codes are running properly .It is very helpful for my project point of view thank you very much
@soapmactavish6001
Ай бұрын
Can you send the code his website is not opening
@atharvsingh6901
14 күн бұрын
@@soapmactavish6001 give me ur email, I'll send the entire code. I've made some changes in it. I added crud ops too. Admin can do crud,the user can't but only register😊😊😊
Thank you so much bro ❤.Really this video helped me a lot .Waiting for new video ,Thanks again......
very nice ansd excellent mindblowing skills and knowledge brother thanks for guiding us in youtube
It's really helpful , Thank you...
Great content bro
Very helpful sir
Only thing I heard is ok but watched it and it’s a great tutorial
I have one small based on smae coneent but with maanger and employee where both maanger and emoloyee has same fields like firstname , laatname , start date , emd date , access right Wherr manager asaign taks to employee and manager is will have access to delete and update add the taks but employee is will have access to view task only
Nice explanation sir
Can we integrate this register, login,logout functionality of this video with employee management system video
With the updates to spring security, will this code still work?
SIr, how to add admin login further in this application? Please guide. I m trying it since many days ...but nothing seems to work...Waiting for your posotive response. Thanking you
When I putting the crentidals in login page it's not getting redirected...and gets refreshed
Bring a video on Spring MVC + Spring JPA + Spring Security using JSP as view.
Hi can you make the same project but with reactjs frontend?
Nice..👍
Thanks 👍
Thanks sir
Sir please make a project on microservices. Create User Registration microservice, login microservice, update password microservice, and forgot password microservice.... Its a request sir to please make video on it
i like your video make more video
Hi. How did u build/compile after u added the spring security dependency in pom.xml.
@PoonamKumari_23
Жыл бұрын
You just have to update the project.
@Dhan-pro
3 ай бұрын
Yes, the security part is not working because of the version changes. if we try to change version and update the project, its not working properly. We have to search for some other solution rather than following this method for adding security. Because its older version.
Angular or Springboot per video bano kab take bano gay sir video
sir how to visible only one user details in MYSQL database
excellent video , but when you started implementing spring config then it started getting difficult , slow down on diffficult concepts and explain them step by step so that we beginers can understand it 😥😥
@BeCoder
Жыл бұрын
Ok..i will upload spring security 3.0
@mosestechtalk
10 ай бұрын
@@BeCoder Please have you been able to upload spring security 3.0
good video about spring security with thymeleaf, but my doubt is 'how can we add role while creating user' and autherization based on that role bro
@BeCoder
Жыл бұрын
kzread.info/dash/bejne/k4ituKigcdmTZag.html
Hi sir how to set everything in session after login
sir thymeleaf ka template parsing error aa raha hai iska kya solution hoga?
what are its prerequisites
My program doesn't log in everything good but the log in just doesn't work
WebSecurityConfigureAdapter is deprecated. So, real value of this video would be if you show us without it, because with WebSecurityConfigureAdapter there are plenty of video
Add forgot password field and changepass pass - new password policy field to get so much good
please create one with Angular as front end yet no one created using angular
dynamically title kese change kare bro????
Why do i get error for thymeleaf
big up
2 microservice ho to 2nd microservice ka method 1st microservice me call karna possible hai kya 🤔
@cloudbaud7794
4 ай бұрын
Yes by using dependency injection
@abhishek_67
4 ай бұрын
@@cloudbaud7794 we can use RestTemplate, WebClient or feignClient for this..
Hi,bro, i'm getting this error, pls help.. i have error Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#session.removeAttribute('msg')" (template: "register" - line 21, col 19) I try to change spring boot starter version to 3.0.1 and 3.0.2, and change jakarta.servlet.http.HttpSession to javax... , which appears request method 'get' is not supported
@atharvsingh6901
Жыл бұрын
kzread.info/dash/bejne/aod5t6yykZzNe8o.html
Good content broi appreciate your knowledge but make some videos in spring boot and angular also that would be good.We are waiting for your Ecommerce project using spring boot and angular
@BeCoder
Жыл бұрын
Sure .i will make
@anweshabhisek7549
Жыл бұрын
Yes sir make in Angular and spring boot
I can't get to your source code site.
The datatable is generated successfully, I can see columns name also generated correctly, but data is not getting saved into the database. Can you please help me here?
@user-dk4mi7nv7m
6 ай бұрын
same problem
bhai please help kar do prokect complete karna hai
Can you send the code? bcz his website is not opening
Sir source code ke link pe source code available nahi hai ap bhej doh ge?
Make video on spring then spring boot
link on the source code isn't working
source code website is not open
At 1:06:01 you changed the version to 2.6.5 but when I am doing this I am getting multiple errors even after refresh and update maven. I am stuck at here I am trying to resolve this from 3 days.
@amitoshverma923
Жыл бұрын
previoul you were on spring 3 which was jakarta but now when you downgraded you came to javax, try googling more maybe you can found your solution
MINE IS ERROR SHOWING CAN YOU PLEASE HELP ME
ZIP file kaha milegi Please provide ZIP file of the whole code
My data is successfully get stored in database but it shows null ,nd when i try to print it on console hashcode is get printed how this problem will get solved
@rahulgudivada9608
11 ай бұрын
same problem. were you able to find solution for this?
@user-zt2ml7ms4s
9 ай бұрын
check your getters and setters @@rahulgudivada9608
Source code link is not working
Can you provide the github link?
bro please answer, on our side i'm also searching for this error #session.removeAttribute error
@ShrutiSheth-fs5et
Жыл бұрын
Yes me too searching for this error
@atharvsingh6901
Жыл бұрын
kzread.info/dash/bejne/aod5t6yykZzNe8o.html
bro, i'm getting this error, pls help.. i have error Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#session.removeAttribute('msg')" (template: "register" - line 21, col 19) pls help. my app is crashing
@marketguru8585
Жыл бұрын
same me too getting this error.......any suggestion
@krunalsukhwani4007
Жыл бұрын
Hi Atharv, I was facing same issue then I changed spring boot starter version to 2.6.5 and now it's working. Also, change import from import jakarta.servlet.http.HttpSession; to import javax.servlet.http.HttpSession;. this was working for me.
@atharvsingh6901
Жыл бұрын
kzread.info/dash/bejne/aod5t6yykZzNe8o.html
i dont know whats happening after watching 100th video still my default spring boot login page didnt change.
@mubashirahmed97
3 ай бұрын
Hi, I am also facing the same issue. Did you find the solution for it?
bhai html page load hi ni ho rha.. white lable error.." no explicit mapping for error"
@BeCoder
Жыл бұрын
Watch this video- kzread.info/dash/bejne/maF6sKqdlNG8m5c.html
@BeCoder getting error same as you getted at time 1:10:02
javax.persistence.* import nhi ho rhi h bhai "import can't be resolved" aa raa hai. help!!!!!!
@growpowerstudio
5 ай бұрын
use springboot 2.6.5
Can you do this front-end part in ReactJS?
@things2explore66
Жыл бұрын
did you find any video with reactjs ?
@subhajitchakraborty1256
Жыл бұрын
@@things2explore66 yeah! 1 or 2 which were crud operation using ReactJS in the frontend and spring boot & MySQL in the backend in this channel
@things2explore66
Жыл бұрын
@@subhajitchakraborty1256 actually I've been looking for solution to integrate React Js frontend with springboot backend for Login log out feature
@subhajitchakraborty1256
Жыл бұрын
@@things2explore66 yes! I also look the same thing because ReactJS is a too popular and too usable framework in the IT Market but here use Thymeleaf which is backdated in a few IT Industries. React is constant for the front end.
bhai source code open nahi horaha hai
Excellant but speed is to high...
Bro seriously, y don't u deploy the project in the git so we can easily use the project and have some changes in it. Seriously bro
sir please say which java version you are using
@BeCoder
Жыл бұрын
Jdk 11
@surajsingh-zf6se
Жыл бұрын
@@BeCoder can you please name the exact version .. just 11 or 11.0.1 or anything elsw
@BeCoder
Жыл бұрын
Both are same u can use anyone
Sir code ka link dalyea
Share code source please 🙏🏻 please
Hi While registering I am getting this error with thymleaf 3.1 error can someone help [THYMELEAF][http-nio-8080-exec-6][register.html] Deprecated unwrapped fragment expression "base::layout(~{::section})" found in template register.html, line 2, col 53. Please use the complete syntax of fragment expressions instead ("~{base::layout(~{::section})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
@KrishnaKumar-qx1mk
Жыл бұрын
you need to use 2nd version of spring , because it is depricated now
Can any one have solution for this error When i try to mapping the createuser to register then it will redirect me to the create user page but give error of " Whitelabel Error Page " i have seen the video of him regarding this but this error was different i have also check the form action ,home controller postmapping code and also check the serviceimplementation file not even print working : HomeController.java - @Autowired private UseService userService; @PostMapping("/createUser ") public String createuser(@ModelAttribute UserDtls user) { /* System.out.println(user); */ UserDtls userDtls=userService.createUser(user); if (userDtls!=null) { System.out.println("Registerd"); }else { System.out.println("Something error"); } return "register"; } }
I am facing error at the time of removing session attribute from thymleaf page, can you tell me why this thing is happening? error Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#session.removeAttribute('msg')"
How can it be helpful if video name is in English but he speaks definitely not English. Thanks.
Lombok doesn’t create table in mysql!
@BeCoder
Жыл бұрын
Data jpa will create table not lombok
@juneutf
Жыл бұрын
Data jpa @Table(“name”) ?
Hi can you please share code source again cause the link doesn’t work
at least share that the language is hindu. You wasted my time.
Hello. when I write "" my app crashes with "[THYMELEAF][http-nio-8081-exec-2] Exception processing template "register": An error happened during template parsing (template: "class path resource [templates/register.html]")". Why? 😞 I use IntelliJ IDEA 2022.2.3 (Ultimate Edition). Can we help me, please?
@Gopal_Marathe
Жыл бұрын
same error
@atharvsingh6901
Жыл бұрын
same issue i have
@Gopal_Marathe
Жыл бұрын
Hi admin Please reply we want to see next videos we are stuck on this issue
@krunalsukhwani4007
Жыл бұрын
Hi, I was facing same issue then I changed spring boot starter version to 2.6.5 and now it's working. Also, change import from import jakarta.servlet.http.HttpSession; to import javax.servlet.http.HttpSession;. this was working for me.
@AnilDas-uz1nu
Жыл бұрын
I am also facing same issue . then I changed spring boot starter version to 2.6.14 and now it's working and also, change import from import jakarta.servlet.http.HttpSession; to import javax.servlet.http.HttpSession;. this was working for me 😊.
i have error Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#session.removeAttribute('msg')" (template: "register" - line 21, col 19)
@Gopal_Marathe
Жыл бұрын
hi please provide solution
@atharvsingh6901
Жыл бұрын
@@Gopal_Marathe smae issue i have. did u find the solution ?
@Gopal_Marathe
Жыл бұрын
@@atharvsingh6901 no
@atharvsingh6901
Жыл бұрын
@@Gopal_Marathe i think its better to leave aside as i did. i redirect it to index page. some issues are there in documentation. soon we'll fix it. main thing is functionality of security authentication via database. i completed this video today using latest spring security changes insted of deprecated one. only change to be done is in SecurityConfig.java file (acc. to latest spring security changes) code:- package com.user.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.dao.DaoAuthenticationProvider; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.web.SecurityFilterChain; @Configuration @EnableWebSecurity public class SecurityConfig { @Bean public UserDetailsService getUserDetailsService() { return new UserDetailsServiceImpl(); } @Bean public BCryptPasswordEncoder getPasswordEncoder() { return new BCryptPasswordEncoder(); } public DaoAuthenticationProvider getDaoAuthenticationProvider() { DaoAuthenticationProvider daoAuthenticationProvider=new DaoAuthenticationProvider(); daoAuthenticationProvider.setUserDetailsService(getUserDetailsService()); daoAuthenticationProvider.setPasswordEncoder(getPasswordEncoder()); return daoAuthenticationProvider; } @Bean public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Exception { httpSecurity.authorizeHttpRequests().requestMatchers("/admin/**").hasRole("ADMIN").requestMatchers("/user/**") .hasRole("USER").requestMatchers("/**").permitAll() // .anyRequest() // .authenticated() .and().formLogin().loginPage("/signin").loginProcessingUrl("/login").defaultSuccessUrl("/user/").and() .csrf().disable(); httpSecurity.authenticationProvider(getDaoAuthenticationProvider()); return httpSecurity.build(); } }
@atharvsingh6901
Жыл бұрын
kzread.info/dash/bejne/aod5t6yykZzNe8o.html
Iam getting error at this line of register.html
@Buddy_0102
4 ай бұрын
same bro and spring security dependancy add also error pls reply
Solution of session.removeAttribute error is kzread.info/dash/bejne/aod5t6yykZzNe8o.html
After I enter my login credentials the page just refreshes and doesn't get redirected to/user/