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

  • @Ankitkumar-ui6gd
    @Ankitkumar-ui6gd Жыл бұрын

    Very help-full learn many things from u in this tutorial keep post new videos practical use...

  • @satishsingh7420
    @satishsingh7420 Жыл бұрын

    Bahut badhiya samjhaya hai aapne.

  • @NirmalMuduli-kf4nm
    @NirmalMuduli-kf4nm9 ай бұрын

    Genuinely bro all your codes are running properly .It is very helpful for my project point of view thank you very much

  • @soapmactavish6001

    @soapmactavish6001

    Ай бұрын

    Can you send the code his website is not opening

  • @atharvsingh6901

    @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😊😊😊

  • @user-ne3cu8ox1q
    @user-ne3cu8ox1q11 ай бұрын

    Thank you so much bro ❤.Really this video helped me a lot .Waiting for new video ,Thanks again......

  • @user-ki9nj8mr1k
    @user-ki9nj8mr1k Жыл бұрын

    very nice ansd excellent mindblowing skills and knowledge brother thanks for guiding us in youtube

  • @madhabtripathy8691
    @madhabtripathy8691 Жыл бұрын

    It's really helpful , Thank you...

  • @denver8876
    @denver8876 Жыл бұрын

    Great content bro

  • @ranjansahoo6190
    @ranjansahoo6190 Жыл бұрын

    Very helpful sir

  • @sofreshh6729
    @sofreshh6729 Жыл бұрын

    Only thing I heard is ok but watched it and it’s a great tutorial

  • @prashanthreddy-sd9ju
    @prashanthreddy-sd9ju9 ай бұрын

    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

  • @thebaseofpcmbclasses8028
    @thebaseofpcmbclasses8028 Жыл бұрын

    Nice explanation sir

  • @AnkitLadha-fo8em
    @AnkitLadha-fo8em10 ай бұрын

    Can we integrate this register, login,logout functionality of this video with employee management system video

  • @StarRoseAngelic
    @StarRoseAngelic Жыл бұрын

    With the updates to spring security, will this code still work?

  • @aditimagdum7864
    @aditimagdum7864 Жыл бұрын

    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

  • @mohitkunder2656
    @mohitkunder2656 Жыл бұрын

    When I putting the crentidals in login page it's not getting redirected...and gets refreshed

  • @cjai77
    @cjai77 Жыл бұрын

    Bring a video on Spring MVC + Spring JPA + Spring Security using JSP as view.

  • @things2explore66
    @things2explore66 Жыл бұрын

    Hi can you make the same project but with reactjs frontend?

  • @gouseshaikh4840
    @gouseshaikh4840 Жыл бұрын

    Nice..👍

  • @suyashchahande7642
    @suyashchahande76425 ай бұрын

    Thanks 👍

  • @umarlearning3482
    @umarlearning3482 Жыл бұрын

    Thanks sir

  • @satishsingh7420
    @satishsingh7420 Жыл бұрын

    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

  • @aniketverma3615
    @aniketverma3615 Жыл бұрын

    i like your video make more video

  • @piyushdutta7760
    @piyushdutta7760 Жыл бұрын

    Hi. How did u build/compile after u added the spring security dependency in pom.xml.

  • @PoonamKumari_23

    @PoonamKumari_23

    Жыл бұрын

    You just have to update the project.

  • @Dhan-pro

    @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.

  • @magiccraftideas
    @magiccraftideas Жыл бұрын

    Angular or Springboot per video bano kab take bano gay sir video

  • @syedraja2862
    @syedraja2862 Жыл бұрын

    sir how to visible only one user details in MYSQL database

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk Жыл бұрын

    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

    @BeCoder

    Жыл бұрын

    Ok..i will upload spring security 3.0

  • @mosestechtalk

    @mosestechtalk

    10 ай бұрын

    @@BeCoder Please have you been able to upload spring security 3.0

  • @MadhuBrahmam007
    @MadhuBrahmam007 Жыл бұрын

    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

    @BeCoder

    Жыл бұрын

    kzread.info/dash/bejne/k4ituKigcdmTZag.html

  • @Rahul_tutuk
    @Rahul_tutuk Жыл бұрын

    Hi sir how to set everything in session after login

  • @Himanshu_Khatarkar
    @Himanshu_Khatarkar8 ай бұрын

    sir thymeleaf ka template parsing error aa raha hai iska kya solution hoga?

  • @arishsheikh3000
    @arishsheikh3000 Жыл бұрын

    what are its prerequisites

  • @pujanbhandari38
    @pujanbhandari38 Жыл бұрын

    My program doesn't log in everything good but the log in just doesn't work

  • @uigreseu5756
    @uigreseu5756 Жыл бұрын

    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

  • @rahemanrf5775
    @rahemanrf5775 Жыл бұрын

    Add forgot password field and changepass pass - new password policy field to get so much good

  • @siddhanathpore5866
    @siddhanathpore58664 ай бұрын

    please create one with Angular as front end yet no one created using angular

  • @niharranjanbehera7955
    @niharranjanbehera7955 Жыл бұрын

    dynamically title kese change kare bro????

  • @pranavmohol9699
    @pranavmohol9699 Жыл бұрын

    Why do i get error for thymeleaf

  • @alexcalcioiu7053
    @alexcalcioiu7053 Жыл бұрын

    big up

  • @abhishek_67
    @abhishek_67 Жыл бұрын

    2 microservice ho to 2nd microservice ka method 1st microservice me call karna possible hai kya 🤔

  • @cloudbaud7794

    @cloudbaud7794

    4 ай бұрын

    Yes by using dependency injection

  • @abhishek_67

    @abhishek_67

    4 ай бұрын

    @@cloudbaud7794 we can use RestTemplate, WebClient or feignClient for this..

  • @gabrieltang6000
    @gabrieltang6000 Жыл бұрын

    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

    @atharvsingh6901

    Жыл бұрын

    kzread.info/dash/bejne/aod5t6yykZzNe8o.html

  • @abhishekkandulna6754
    @abhishekkandulna6754 Жыл бұрын

    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

    @BeCoder

    Жыл бұрын

    Sure .i will make

  • @anweshabhisek7549

    @anweshabhisek7549

    Жыл бұрын

    Yes sir make in Angular and spring boot

  • @hqking4418
    @hqking4418 Жыл бұрын

    I can't get to your source code site.

  • @manmeetkaur7562
    @manmeetkaur7562 Жыл бұрын

    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

    @user-dk4mi7nv7m

    6 ай бұрын

    same problem

  • @surajsingh-zf6se
    @surajsingh-zf6se Жыл бұрын

    bhai please help kar do prokect complete karna hai

  • @sourabhchavan4710
    @sourabhchavan4710Ай бұрын

    Can you send the code? bcz his website is not opening

  • @user-db2ln2ro7l
    @user-db2ln2ro7l3 ай бұрын

    Sir source code ke link pe source code available nahi hai ap bhej doh ge?

  • @SnehansuPradhan
    @SnehansuPradhan Жыл бұрын

    Make video on spring then spring boot

  • @user-mm8rb9gq1u
    @user-mm8rb9gq1u2 ай бұрын

    link on the source code isn't working

  • @subhajitdas1298
    @subhajitdas12984 ай бұрын

    source code website is not open

  • @AnIndianCoder
    @AnIndianCoder Жыл бұрын

    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

    @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

  • @user-xp5ep2rx9z
    @user-xp5ep2rx9z3 ай бұрын

    MINE IS ERROR SHOWING CAN YOU PLEASE HELP ME

  • @pathshala-mb7yz
    @pathshala-mb7yz11 ай бұрын

    ZIP file kaha milegi Please provide ZIP file of the whole code

  • @user-zt2ml7ms4s
    @user-zt2ml7ms4s Жыл бұрын

    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

    @rahulgudivada9608

    11 ай бұрын

    same problem. were you able to find solution for this?

  • @user-zt2ml7ms4s

    @user-zt2ml7ms4s

    9 ай бұрын

    check your getters and setters @@rahulgudivada9608

  • @ritichaudhary6970
    @ritichaudhary69702 ай бұрын

    Source code link is not working

  • @Shirishjaiswal333
    @Shirishjaiswal333 Жыл бұрын

    Can you provide the github link?

  • @atharvsingh6901
    @atharvsingh6901 Жыл бұрын

    bro please answer, on our side i'm also searching for this error #session.removeAttribute error

  • @ShrutiSheth-fs5et

    @ShrutiSheth-fs5et

    Жыл бұрын

    Yes me too searching for this error

  • @atharvsingh6901

    @atharvsingh6901

    Жыл бұрын

    kzread.info/dash/bejne/aod5t6yykZzNe8o.html

  • @atharvsingh6901
    @atharvsingh6901 Жыл бұрын

    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

    @marketguru8585

    Жыл бұрын

    same me too getting this error.......any suggestion

  • @krunalsukhwani4007

    @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

    @atharvsingh6901

    Жыл бұрын

    kzread.info/dash/bejne/aod5t6yykZzNe8o.html

  • @ArjunU931
    @ArjunU93111 ай бұрын

    i dont know whats happening after watching 100th video still my default spring boot login page didnt change.

  • @mubashirahmed97

    @mubashirahmed97

    3 ай бұрын

    Hi, I am also facing the same issue. Did you find the solution for it?

  • @surajsingh-zf6se
    @surajsingh-zf6se Жыл бұрын

    bhai html page load hi ni ho rha.. white lable error.." no explicit mapping for error"

  • @BeCoder

    @BeCoder

    Жыл бұрын

    Watch this video- kzread.info/dash/bejne/maF6sKqdlNG8m5c.html

  • @sirajshaikh6959
    @sirajshaikh69595 ай бұрын

    @BeCoder getting error same as you getted at time 1:10:02

  • @AbhishekSingh-hk3zh
    @AbhishekSingh-hk3zh Жыл бұрын

    javax.persistence.* import nhi ho rhi h bhai "import can't be resolved" aa raa hai. help!!!!!!

  • @growpowerstudio

    @growpowerstudio

    5 ай бұрын

    use springboot 2.6.5

  • @subhajitchakraborty1256
    @subhajitchakraborty1256 Жыл бұрын

    Can you do this front-end part in ReactJS?

  • @things2explore66

    @things2explore66

    Жыл бұрын

    did you find any video with reactjs ?

  • @subhajitchakraborty1256

    @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

    @things2explore66

    Жыл бұрын

    @@subhajitchakraborty1256 actually I've been looking for solution to integrate React Js frontend with springboot backend for Login log out feature

  • @subhajitchakraborty1256

    @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.

  • @yogeshkhandre-fh4pq
    @yogeshkhandre-fh4pqАй бұрын

    bhai source code open nahi horaha hai

  • @sushantpolkat5089
    @sushantpolkat50893 ай бұрын

    Excellant but speed is to high...

  • @gantasalasaivasanth6512
    @gantasalasaivasanth65129 ай бұрын

    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

  • @surajsingh-zf6se
    @surajsingh-zf6se Жыл бұрын

    sir please say which java version you are using

  • @BeCoder

    @BeCoder

    Жыл бұрын

    Jdk 11

  • @surajsingh-zf6se

    @surajsingh-zf6se

    Жыл бұрын

    @@BeCoder can you please name the exact version .. just 11 or 11.0.1 or anything elsw

  • @BeCoder

    @BeCoder

    Жыл бұрын

    Both are same u can use anyone

  • @adityaanand7783
    @adityaanand778310 ай бұрын

    Sir code ka link dalyea

  • @safaeberrohou2250
    @safaeberrohou2250Ай бұрын

    Share code source please 🙏🏻 please

  • @uditsingh6080
    @uditsingh6080 Жыл бұрын

    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

    @KrishnaKumar-qx1mk

    Жыл бұрын

    you need to use 2nd version of spring , because it is depricated now

  • @rahulbhavsar9295
    @rahulbhavsar9295 Жыл бұрын

    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"; } }

  • @TheSwikot
    @TheSwikot10 ай бұрын

    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')"

  • @QuidProQuooo
    @QuidProQuooo10 ай бұрын

    How can it be helpful if video name is in English but he speaks definitely not English. Thanks.

  • @bananacrusher101
    @bananacrusher101 Жыл бұрын

    Lombok doesn’t create table in mysql!

  • @BeCoder

    @BeCoder

    Жыл бұрын

    Data jpa will create table not lombok

  • @juneutf

    @juneutf

    Жыл бұрын

    Data jpa @Table(“name”) ?

  • @safaeberrohou2250
    @safaeberrohou22502 ай бұрын

    Hi can you please share code source again cause the link doesn’t work

  • @derejedesta6629
    @derejedesta662911 ай бұрын

    at least share that the language is hindu. You wasted my time.

  • @user-us9wg5cd5q
    @user-us9wg5cd5q Жыл бұрын

    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

    @Gopal_Marathe

    Жыл бұрын

    same error

  • @atharvsingh6901

    @atharvsingh6901

    Жыл бұрын

    same issue i have

  • @Gopal_Marathe

    @Gopal_Marathe

    Жыл бұрын

    Hi admin Please reply we want to see next videos we are stuck on this issue

  • @krunalsukhwani4007

    @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

    @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 😊.

  • @Gopal_Marathe
    @Gopal_Marathe Жыл бұрын

    i have error Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#session.removeAttribute('msg')" (template: "register" - line 21, col 19)

  • @Gopal_Marathe

    @Gopal_Marathe

    Жыл бұрын

    hi please provide solution

  • @atharvsingh6901

    @atharvsingh6901

    Жыл бұрын

    @@Gopal_Marathe smae issue i have. did u find the solution ?

  • @Gopal_Marathe

    @Gopal_Marathe

    Жыл бұрын

    @@atharvsingh6901 no

  • @atharvsingh6901

    @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

    @atharvsingh6901

    Жыл бұрын

    kzread.info/dash/bejne/aod5t6yykZzNe8o.html

  • @swathir8828
    @swathir88286 ай бұрын

    Iam getting error at this line of register.html

  • @Buddy_0102

    @Buddy_0102

    4 ай бұрын

    same bro and spring security dependancy add also error pls reply

  • @atharvsingh6901
    @atharvsingh6901 Жыл бұрын

    Solution of session.removeAttribute error is kzread.info/dash/bejne/aod5t6yykZzNe8o.html

  • @pujanbhandari38
    @pujanbhandari38 Жыл бұрын

    After I enter my login credentials the page just refreshes and doesn't get redirected to/user/

Келесі