How to write a custom login page in Spring Security and Spring Boot - Java Brains

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

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

  • @KDTechverse
    @KDTechverse 2 года назад +7

    When he said : "I know it's not pretty, but at least it's yours"
    It hit me the hardest man. 😢

  • @trantrungnghia9642
    @trantrungnghia9642 6 месяцев назад +1

    love the way you explain by giving some random dialogs like "Hey Spring Security, I want you to blablabla"

  • @MrMati1324
    @MrMati1324 3 года назад +1

    I love you!! the clearest tutorial about spring-security I've seen. Thank you so much

  • @dvt32
    @dvt32 4 года назад +29

    Koushik hit puberty and his voice transformed like Yugi to Yami from Yu-Gi-Oh! Just kidding, man, great video as always! :D

  • @capslock2105
    @capslock2105 9 месяцев назад

    Now I understood the benifits of python & django

  • @flopani5059
    @flopani5059 3 года назад +1

    Very straightforward and helpful tutorial!

  •  4 года назад +2

    If you are getting the error 500 or 404, put the annotation @configuration in your configure class. Just like this:
    @EnableWebSecurity
    *@Configuration
    *
    public class SecurityConfig extends WebSecurityConfigurerAdapter{

    @Override
    protected void configure(HttpSecurity http) throws Exception{
    http.
    authorizeRequests().
    anyRequest().authenticated().
    and()
    .formLogin()
    .loginPage("/login")
    .permitAll();
    }
    }

    • @sais7065
      @sais7065 Год назад

      What is the difference between loginprocessingurl and defaultsucessurl

  • @soumava91
    @soumava91 4 года назад +10

    A brilliant one, as always!
    Any tutorial on containers/deployment/CiCd integration coming anytime soon? it would give the best conclusion to your microservices and spring security tutorials! ♥️

  • @КонстантинА-ъ8ф
    @КонстантинА-ъ8ф Год назад

    Great explanation, nice to hear from you! Thank you!

  • @akshtapare4113
    @akshtapare4113 4 года назад

    really helpful video by Kaushik as always , and thanks for the voice alert :P , otherwise my whole attention would have gone to search the issue with my audio system !

  • @bharatkumar-oc6lp
    @bharatkumar-oc6lp 4 года назад +7

    Hi Kaushik, May i Know when can we expect Microservices Level 3.

  • @mycasper9000
    @mycasper9000 4 года назад

    Finally the wait is over ! 👍

  • @maheshm3273
    @maheshm3273 4 года назад

    Hi Sir, I have benefited a lot from you. Could you please make a series on microservices. you are the one because of whom I have learnt a lot of concepts . much love

  • @aravindrockzz2144
    @aravindrockzz2144 4 года назад +2

    Can you provide video for front end login page using angular with back end as spring security

  • @samalprasant123
    @samalprasant123 4 года назад

    Get well soon. Take care.
    Good content as usual.

  • @NandhuKishorReddy
    @NandhuKishorReddy 4 года назад +1

    Please continue spring boot micro services series.?
    We are waiting ✋

  • @kiyoqsy4901
    @kiyoqsy4901 23 дня назад +1

    if when you make request to "/login" you recipe the controller content instead html, perhaps you have your controller the "@RestController" annotation instead "@Controller" the issue is , restController don't allow send views

  • @mutlueren
    @mutlueren 4 года назад +2

    please more java interview questions

  • @foruvasanth
    @foruvasanth 4 года назад

    Salute to your dedication man

  • @primrosemwanza1911
    @primrosemwanza1911 3 года назад

    lol! "i know, its not pretty but its yours." too right you are !

  • @rupams2002
    @rupams2002 4 года назад

    Excellent tutorial.

  • @manikantgautam5068
    @manikantgautam5068 4 года назад

    What a way to start sunday .

    • @samantr
      @samantr 4 года назад

      because 2 weeks ago Sunday (8 dec 4pm) he spent time preparing this for us :) Thanks Kaushik !

    • @samantr
      @samantr 4 года назад

      Veer hote send vegan6

  • @balusurabhi5392
    @balusurabhi5392 4 года назад

    Kaushik now all companies are mainly asking questions on data structures and multi threading. Can you please make videos on these ASAP

  • @RenCode
    @RenCode 3 года назад

    he hit puberty second time at 7:47
    great video !

  • @muhiuddinshahani349
    @muhiuddinshahani349 4 года назад

    good one sir

  • @TheDheerendraJaiswal
    @TheDheerendraJaiswal 4 года назад +1

    Hello sir, please upload the next tutorial that u mentioned in the end of the video. The method level security tutorial.. Thank you in advance.

  • @chandanpadalkar7516
    @chandanpadalkar7516 4 года назад

    Great video👍

  • @projavadevelopers
    @projavadevelopers Год назад

    Can you explain how rendering works internally? If there are two files named login.html in different folders which one is picked

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

    Can you do with react?

  • @stephyjacob1256
    @stephyjacob1256 4 года назад

    Thanks kaushik.

  • @poranchowdury7468
    @poranchowdury7468 4 года назад

    get well soon

  • @ChetanRawattunein
    @ChetanRawattunein 3 года назад

    I've a web page with a login form running on a server, and I want to do user login verification
    Should I use this security approach or just
    Verify the user credentials with the db and provide the login status to frontend ?

  • @Brandon-oo1qi
    @Brandon-oo1qi 4 года назад +1

    This doesn't work in the latest version of Spring Security. Spring ignores the custom login page and always uses the default one.

    • @justinjenecke8153
      @justinjenecke8153 3 года назад

      what error do you get when trying it. when you use thymeleaf, you have to place the html form inside src/main/resources/templates as this is the default location tha thymeleaf uses to find the html page

    • @Prudhvi_Tripuraneni
      @Prudhvi_Tripuraneni 2 года назад

      Yes bro , not working

  • @moonhope7764
    @moonhope7764 3 года назад

    hi please tell me from which package u use for code

  • @ottodvalishvili7601
    @ottodvalishvili7601 4 года назад

    If I change the default name in loginForm() it does not work,why?

  • @ИгорьКузьмин-ч1д
    @ИгорьКузьмин-ч1д 4 года назад

    Why my default login page ugly?without style? I use spring boot 2.0.3

  • @keshavdutta2963
    @keshavdutta2963 3 года назад

    Hey, can it be done without thymleeaf??

  • @Luther_Luffeigh
    @Luther_Luffeigh 4 года назад

    What library do I need to hook this page with active directory authentication ?

  • @programminghelp7346
    @programminghelp7346 4 года назад

    thanks .

  • @chandanpadalkar7516
    @chandanpadalkar7516 4 года назад

    can you make video to disable spring security?

  • @caffeinejavacode1475
    @caffeinejavacode1475 4 года назад

    Hello! can we avoid LoginController and use its logic in SpringSecurity config?

  • @arvinreyes2444
    @arvinreyes2444 4 года назад

    00:00 - 7:45 Java Brains
    7:46 - 13:25 Chad Brains

  • @RustySilver-w1q
    @RustySilver-w1q 2 года назад

    Incomplete. Where is the logout page ?

  • @josephwong2832
    @josephwong2832 4 года назад +1

    You sound much more manly after you caught a cold!!

  • @mousumichoudhury1392
    @mousumichoudhury1392 4 года назад

    can you please provide the git repo link for the working code.

  • @skullwise
    @skullwise 4 года назад

    Thanks Kaushik. #KaushiksNo1Fan

  • @balabhaskararaoguntupalli1275
    @balabhaskararaoguntupalli1275 4 года назад

    thanks

  • @shredder_plays
    @shredder_plays 4 года назад

    When are the videos on nodejs coming ?? Btw i love your videos and accent too lol.🔥🔥

  • @kangajankuganathan7457
    @kangajankuganathan7457 2 года назад

    how to login with react js

  • @Vishu-zn9yf
    @Vishu-zn9yf 4 года назад

    I don't know why but when I enter usernamy and password it redirects me to the same page.

  • @PaulGarcia652
    @PaulGarcia652 Год назад +1

    I believe this has been deprecated

  • @dark_evil77
    @dark_evil77 4 года назад +2

    FINALLY NOT AN INDIAN VIDEO!

  • @Solonggulle
    @Solonggulle Год назад

    You're fucking jesus christ because thanks to you I finally understood spring docs

  • @ZainZain-zb7hw
    @ZainZain-zb7hw 4 года назад

    Sir I have applied for US Visa I am going to USA. I have only 3 months. Sir I want to get job as a java developer in any Software house what should I need to learn...
    Sir
    Plz replay