🔐 Customising Login page | Understanding full magic of customisation | SCM Project Spring Security

Поделиться
HTML-код
  • Опубликовано: 8 май 2024
  • 🔐 Customising Login page | Understanding full magic of customisation | SCM Project Spring Security
    Source Code: github.com/LearnCodeWithDurge...
    Full Project Link: • Smart Contact Manager 2.0
    Complete NextJs Series: • NextJS Tutorial with P...
    Premium Course Library: courses.learncodewithdurgesh....
    React JS Course : courses.learncodewithdurgesh....
    Master Spring Boot Course : courses.learncodewithdurgesh....
    Telegram Link for Doubt: t.me/learncodewithdurgesh
    Important Videos:
    ➡️React JS with Project : • 🔥 🔥 Complete React Js ...
    ➡️Learn JDBC in one video: • JDBC Crash Course in 1...
    ➡️Learn Python in One Video: • Learn Python in One Vi...
    ➡️Learn HTML in one video: • Jquery in one video in...
    ➡️Learn HTML form in one video: • Jquery in one video in...
    ➡️Learn JavaScript in one videos: • Learn JavaScript in O...
    ➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
    ➡️Learn CSS in one video: • Jquery in one video in...
    ➡️Jquery in one video: • Jquery in one video in...
    Kotlin is one video: • Kotlin | Learn Kotlin ...
    ➡️Complete Python Project - RUclips downloader in one video: • Jquery in one video in...
    Important Playlist:
    ➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
    ➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
    ➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
    ➡️Hibernate Tutorials: • Hibernate Tutorial for...
    ➡️E-Commerce Project using Java: • E-Commerce Project usi...
    ➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
    ➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
    ➡️Learn Technology in One Vides: • Learn in one video : C...
    ➡️Programming Tips for Programmers: • Coding Tips and Discus...
    ➡️Complete Python for Beginners: • Complete Python Tutori...
    ➡️Important Python Projects: • Python Projects in Hindi
    ➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
    ➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
    ➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
    ➡️Java Swing Projects: • Java Projects for begi...
    ➡️Java Core Concepts: • Java Core Tutorial
    ➡️Kya aap Jante hai Series: • kya app jante hai : s...
    Important Links:
    👉Official Website (Source Code): learncodewithdurgesh.com/
    👉Telegram Discussion Group: t.me/learncodewithdurgesh
    👉Follow me on Instagram: / durgesh_k_t
    👉Follow on Facebook / learncodewithdurgesh
    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.

Комментарии • 58

  • @The_Gyaan_Transfer
    @The_Gyaan_Transfer Месяц назад

    Keep it bro... Best thing is you are not skipping anything which is helping us a lot to understand everything.

  • @ritakumari3151
    @ritakumari3151 Месяц назад

    Thanks you sir. Really It is good project and make us good understanding.

  • @sanukhan9719
    @sanukhan9719 Месяц назад

    Please continue playlist....

  • @sagnikbose5823
    @sagnikbose5823 Месяц назад +1

    Durgesh Sir
    Please deploy the project at the end as this will help us to add it in the Resule as this is a fantastic project
    good luck

  • @thedominatorscircle6762
    @thedominatorscircle6762 Месяц назад

    sir please continue this project, please

  • @GautamKumar-qw2kg
    @GautamKumar-qw2kg Месяц назад

    Sir please continue this project

  • @vivekr1169
    @vivekr1169 Месяц назад

    Sir, Keep it up you are doing great work and can we deploy this application on docker and k8s ?

  • @goutamnamdev1304
    @goutamnamdev1304 Месяц назад +1

    ❤super excited for next vedio ❤

    • @13sudhanshu20
      @13sudhanshu20 Месяц назад

      Bro how can I solve my problem

    • @goutamnamdev1304
      @goutamnamdev1304 Месяц назад

      @@13sudhanshu20 which ... problem are u facing and where?

  • @user-be4nu3vv8g
    @user-be4nu3vv8g Месяц назад

    Sir all videos done for this series please add new ones
    Very nice videos

    • @SHUBHAM-yy2si
      @SHUBHAM-yy2si 7 дней назад

      Bro mera login page full screen me automatically open ho rha but as per sir ye screen k middle me open hona chahiye.. please help me out

  • @aquibsheikh-ro1fl
    @aquibsheikh-ro1fl Месяц назад

    In how many days will the project be completed?

  • @SANDEEP-zp2kc
    @SANDEEP-zp2kc Месяц назад

    hello sir
    app vs code ka theme kon sa use kar rahe hai please bata do

  • @Entertainment-sTv
    @Entertainment-sTv Месяц назад

    Sir.next vedio kab ayai gi

  • @user-gx9rv3hh6s
    @user-gx9rv3hh6s Месяц назад

    sir make new vidoe for confirm from resubmission #issue In Post method reloding

  • @RaviYadav-cx2pb
    @RaviYadav-cx2pb Месяц назад

    Isme custome captcha implement kro ... login page pe

  • @amansalmani4146
    @amansalmani4146 Месяц назад

    Sir apke spring boot course main spring boot security bhi hai

  • @treger3
    @treger3 Месяц назад

    Hi tried to buy your course multiple times in your website but I think your payment gateway doesn't support payment outside of india..
    Is there any way?

  • @SHUBHAM-yy2si
    @SHUBHAM-yy2si 7 дней назад

    Can anyone please help me out , mera css ni chla rha syd , login form or signup form automatically full screen pe aa rha ... Or koi colour v apply ni ho rha please anyone help me.

  • @pradippatil5832
    @pradippatil5832 Месяц назад

    done. but complicated hai

  • @rishabhkhandagre5061
    @rishabhkhandagre5061 29 дней назад +1

    I get the error in post request
    On hitting "/authenticate" it gives an error post method is not supported
    Can anyone resolve it?

    • @shoot-4u687
      @shoot-4u687 28 дней назад +1

      i am having same problem

    • @rishabhkhandagre5061
      @rishabhkhandagre5061 27 дней назад

      Is this your error resolve?

    • @SandeepKumar.
      @SandeepKumar. 26 дней назад

      I have facing same error but now resolved, in my case there was spelling mistake of password in SecurityConfig.java, make sure your spelling is correct

    • @sadiulhakim7814
      @sadiulhakim7814 19 дней назад

  • @13sudhanshu20
    @13sudhanshu20 Месяц назад +1

    Bre bhaiya (Durgesh) please give me suggestions how can i solve problem method post is not supported 14:38 please help......

  • @RishiRajxtrim
    @RishiRajxtrim Месяц назад

    🙂👍

  • @13sudhanshu20
    @13sudhanshu20 Месяц назад +2

    I have an errors method post is not supported...how can I solve it ... Please help me

    • @vivekchaurasia3055
      @vivekchaurasia3055 Месяц назад +1

      Getting the same error when trying to login it says
      Method 'POST' is not supported.
      org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported
      for authenticate

    • @13sudhanshu20
      @13sudhanshu20 Месяц назад

      How can solve this problem

    • @vivekchaurasia3055
      @vivekchaurasia3055 Месяц назад

      @@13sudhanshu20
      formLogin.successForwardUrl didnt work but defaultSuccessUrl worked
      formLogin.failureForwardUrl didnt work but failureUrl worked

    • @acharan7973
      @acharan7973 Месяц назад

      @@vivekchaurasia3055
      @Bean
      public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception{
      http
      .authorizeHttpRequests( (authorize) -> {
      authorize
      .requestMatchers("/index","/css/**","/js/**","/images/**","/signup","/login","/services","/contact","/about","/process-register").permitAll()
      .requestMatchers("/user/**").authenticated();
      });

      http .csrf( (csrf) -> {
      csrf.disable();
      })
      .formLogin( (formLogin) -> {
      formLogin.loginPage("/login")
      .loginProcessingUrl("/login")
      .defaultSuccessUrl("/user/dashboard",true)
      .failureUrl("/login?error=true")
      .usernameParameter("email")
      .passwordParameter("password");
      });
      http
      .logout( (logout) -> {
      logout.permitAll()
      .logoutSuccessUrl("/login?logout=true");
      });
      return http.build();
      }
      Use this code and dont change any previous mappings , change the urls as per your code

    • @acharan7973
      @acharan7973 Месяц назад

      @@vivekchaurasia3055 @Bean
      public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception{
      http
      .authorizeHttpRequests( (authorize) -> {
      authorize
      .requestMatchers("/index","/css/**","/js/**","/images/**","/signup","/login","/services","/contact","/about","/process-register").permitAll()
      .requestMatchers("/user/**").authenticated();
      });

      http .csrf( (csrf) -> {
      csrf.disable();
      })
      .formLogin( (formLogin) -> {
      formLogin.loginPage("/login")
      .loginProcessingUrl("/login")
      .defaultSuccessUrl("/user/dashboard",true)
      .failureUrl("/login?error=true")
      .usernameParameter("email")
      .passwordParameter("password");
      });
      http
      .logout( (logout) -> {
      logout.permitAll()
      .logoutSuccessUrl("/login?logout=true");
      });
      return http.build();
      }
      Use this code and dont change any previous mappings , change the urls as per your code

  • @BeInsNow
    @BeInsNow Месяц назад

    Just wasted my time 😔, zillion times tried to resolve /logout and it never worked 😣

    • @acharan7973
      @acharan7973 Месяц назад

      @Bean
      public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception{
      http
      .authorizeHttpRequests( (authorize) -> {
      authorize
      .requestMatchers("/index","/css/**","/js/**","/images/**","/signup","/login","/services","/contact","/about","/process-register").permitAll()
      .requestMatchers("/user/**").authenticated();
      });

      http .csrf( (csrf) -> {
      csrf.disable();
      })
      .formLogin( (formLogin) -> {
      formLogin.loginPage("/login")
      .loginProcessingUrl("/login")
      .defaultSuccessUrl("/user/dashboard",true)
      .failureUrl("/login?error=true")
      .usernameParameter("email")
      .passwordParameter("password");
      });
      http
      .logout( (logout) -> {
      logout.permitAll()
      .logoutSuccessUrl("/login?logout=true");
      });
      return http.build();
      }
      Use this code and dont change any previous mappings , change the urls as per your code

  • @foddiebyage9696
    @foddiebyage9696 Месяц назад

    Bhai tum toh boll rhe the ki. Eksath daal dogge videos saari

  • @ComedyHeros
    @ComedyHeros Месяц назад

    After getting Login i am Getting this issue
    Tue Jun 04 14:44:38 IST 2024
    There was an unexpected error (type=Internal Server Error, status=500).
    failed to lazily initialize a collection of role: com.scm.proj.spring.entity.User.contact: could not initialize proxy - no Session
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.scm.proj.spring.entity.User.contact: could not initialize proxy - no Session
    at org.hibernate.collection.spi.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:634)

    • @Jivesh-dl8gv
      @Jivesh-dl8gv 21 день назад

      Hii @ComedyHeros this issue is resolved or not. Actually I am getting the same error

    • @ComedyHeros
      @ComedyHeros 21 день назад

      @@Jivesh-dl8gv spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
      Add above code in properties file

    • @SHUBHAM-yy2si
      @SHUBHAM-yy2si 7 дней назад

      ​@@ComedyHeros bro mera css ni chl rha ye login or signup form sare full screen me aa rhe automatically or koi v colors applied ni h please helo me out... Maine wo css build wala command v chla liye phir v resolve ni ho rha.