Adding Spring Security to new Spring Boot project - Java Brains Brain Bytes

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

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

  • @lunamore4077
    @lunamore4077 Год назад +8

    Sincerely Thank You, Sir! I used to feel dumb because I couldn't get the idea of spring security from my professor's lecture. Now I realize that there are no bad students but bad teachers who make their students feel dumb...

  • @wilsonbarbosa8210
    @wilsonbarbosa8210 10 месяцев назад +2

    Dude, I'm learning angular with spring and I've just added spring security to my dependencies and I was shocked this default authentication was a thing. I was so confused and this playlist of yours is helping me SOOOOOOOO MUCH! Like, seriously, you are one of the best teachers on youtube. You have such a concise and direct way of presenting these concepts! And you comparisons and metaphors are excellent, the visuals are very helpful as well. One of the best content I saw in my entire life! Thank you thank you

    • @JR_T-l8x
      @JR_T-l8x Месяц назад

      Can't agree more. This course is brain dynamite

  • @ambarishkapil8004
    @ambarishkapil8004 Год назад +5

    Thank you for making this tutorial. I have seen paid courses that just basically state the concepts or use a power point slide. But you taking the effort to draw and animate this tutorial makes all the difference. Really appreciate you doing this Kaushik. Keep up the good work.

  • @joanofarcshubhajoanofarcsh1010
    @joanofarcshubhajoanofarcsh1010 5 лет назад +55

    A good teacher can teach difficult things in simple manner. That's koushik ji. Technologies and logics simplified.

    • @elenazaytseva9196
      @elenazaytseva9196 5 лет назад +3

      I can't agree more! You are the best teacher I have ever come across!

  • @jeetusahu3489
    @jeetusahu3489 4 года назад +7

    My career path got changed from QA tester to Java Developer with the help of this wonderful channel. I will remain grateful to Kaushik for making such a wonderful, easy to understand videos. Thank you for your effort!

  • @utsavanand5558
    @utsavanand5558 5 лет назад +5

    Blessed to have tutor like you. The simplicity of explaining concepts is class apart.

  • @oni-chan2065
    @oni-chan2065 3 года назад

    After visiting 100s of websites and still not able to understand properly, Here just in single video am able to understand properly.
    Hats off to the to you Man!!

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

    Trust me this trainer has done a brilliant explanation on this concept Spring Security...I have subscribed this channel after watching this video.

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

    Spring Security makes much more sense now, thanks. I discovered your channel through this video and I plan to watch all your other videos. You have outstanding teaching skills! If you are taking requests, I would love to see a video which explains how to write tests for own request handling methods (with MockMvc) and for methods which call external party endpoints (with WireMock) in an application configured with Spring Security.

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

    here i'm to see the clearest about the CONCEPT, best teacher, lucky i found this

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

    What a teacher.. You are changing my coding life

  • @shantipriya4724
    @shantipriya4724 5 лет назад +1

    You are a great teacher. Explain difficult things so easily.

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

    this is such a good tutorial, you are a cut above other youtubers.

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

    Your channel is pure gold.

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

    Hi sir
    Your all videos are great !
    Till now i didn't find any person who is teaching like you
    Thanks for videos :)

  • @SATYANARAYANAGUGGILAPU
    @SATYANARAYANAGUGGILAPU 7 месяцев назад

    Very useful videos - explained crisp clear. Greatful to you

  • @dipeshsinghjr.4000
    @dipeshsinghjr.4000 2 года назад

    Bro how you just make these topics so easy to understand...? Anyway thanks your channel is great relief for me.

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

    God Bless You Kaushik you are helping many people to better their career. You are covering concepts to the best level

  • @commentsonly4341
    @commentsonly4341 5 лет назад

    These teasers r so tempting ... can’t wait for full video series on security ... please publish oauth2 , ssl handling in spring boot soon , I m so habituated to learn from ur videos that I don’t find other tutorials bad 😊

  • @muditbajpai1218
    @muditbajpai1218 5 лет назад

    Like I mentioned earlier, it feels really nice to be following the things posted by you on timely basis. And I am eagerly waiting for the next in series.

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

    The precise and perfect tutorial Kaushik, certifying your legendary expertise! :)

  • @karkiashwin1174
    @karkiashwin1174 5 лет назад

    It was the best part of your series. thnks for the tutorial

  • @108vicky
    @108vicky 5 лет назад

    This is the best example so far.. thanks so much for this.

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

    Thanks

    • @Java.Brains
      @Java.Brains  2 года назад

      Thanks so much Appreciate the contribution

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 11 месяцев назад

    Fantastic tutorial! Thank you so much! 💛

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

    Thanks! It's so interesting, clear and...not scary at all!

  • @francogb
    @francogb 5 лет назад +28

    Amazing job!
    Can you explain about JWT in Spring Security?
    Thanks!

    • @Comyupower
      @Comyupower 5 лет назад +2

      Can you maybe do a tutorial where you have angular use jwt, but login forms are also possible?

    • @dexdinh1007
      @dexdinh1007 5 лет назад

      I need JWT too, most of video and other tuts do not explain clearly :(

  • @vamshireddy6722
    @vamshireddy6722 5 лет назад

    I got a full-time job at American Express. Thank you #javabrains#koushikji

  • @yash.brahmb
    @yash.brahmb 5 лет назад +4

    Hi Kaushik, You're a gem. A wonderful teacher. With every video, we receive knowledge from badic to advanced. Thank you for uploading so many wonderful videos.
    If possible, do you have any plan to have a workshop on spring security with regards to Microservices workshops that you have currently?

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

    a really good explanation!! thank you, i have subscribed

  • @LalitKumar-cw9rf
    @LalitKumar-cw9rf 2 года назад

    Very good tutorials , easy to understand

  • @CHANDRU419
    @CHANDRU419 5 лет назад +1

    Sir. Please! I'm badly looking for your security series. Please enable us spring secured! You are great

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

    Absolute excellence! Thank you for making this!!! Definitely a big like AND subscribe for you my dude!

  • @adityan422
    @adityan422 5 лет назад

    You are an amazing techie... Salute for your contribution

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

    Very nice explanation sweet and short

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

    I wanted to clear my concepts your video helped me thanks

  • @SushilKumarBhaskar
    @SushilKumarBhaskar 5 лет назад +4

    Excellent Explained EE+, a Long awaited on spring boot security Tuto, JWT along with Spring Security Please?

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

    Hello Koushik sir, I have been watching your contents from last year. Each playlist is a masterpiece. The music at the end of the video. did you compose it? its nice.

  • @KP-hz5wm
    @KP-hz5wm 4 года назад

    You are amazing Kaushik.. You deserve an award :)

  • @jnfrle
    @jnfrle 5 лет назад

    Thanks so much for making this available!

  • @kaleemullahnizamani7436
    @kaleemullahnizamani7436 5 лет назад +4

    Make this play list comprehensive and cover all security concepts every spring boot app need security and unfortunately there are not good resources available to learn spring boot security.

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

    Thank you for the tutorial

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

    Notes for my ref:
    By adding spring-security-starter project to the classpath , it will automatically configure it
    Filter is a like a servlet scans all the URLs and provide default implementation.
    Spring security default behaviour :
    1.provides login form
    2.login Error handling
    3.Added mandatory login for all the API
    4.creates default user and password
    Spring.security.user.name=foo
    Spring.security.user.password=foo

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

      very handy!! thank you

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

    Amazing explanation!

  • @ibtissamboutahi3078
    @ibtissamboutahi3078 5 лет назад

    *********** what a great videos **********************

  • @josephpudupermanil704
    @josephpudupermanil704 5 лет назад

    Great Explanation. Great content.

  • @ShameeraAnuranga
    @ShameeraAnuranga 5 лет назад

    Explained All the things very nicely

  • @Juice-s3d
    @Juice-s3d 5 лет назад

    Thanks for this video.another Spring security default behaviour is that adds a csrf controle, the request is handling a synchronized token hidden in the authentication page.

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

    Thank youu. So simple and useful

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

    First of all you are the greatest of all time . I have one little question can anyone tell me how spring security uses Principal object because one spring boot instance can serve multiple logged in users so how it stores all Principal details of all users ?

  • @beinglogicalyadav9750
    @beinglogicalyadav9750 5 лет назад

    Fabulous as always......

  • @josephkingstonleomariamich7220
    @josephkingstonleomariamich7220 5 лет назад

    One of the best persons thanks

  • @Standupibrahimbackup
    @Standupibrahimbackup 4 года назад +4

    I love you more than my mother loves me. Thank you so much for these tutorials. Ok not as much as my mother but definitely more than my girlfriend

  • @AbhishekChanda
    @AbhishekChanda 5 лет назад +122

    Do you have a Pateron account? You deserve to be paid.

  • @amruthakm1042
    @amruthakm1042 5 лет назад

    Hi Kaushik Sir,
    This tutorial is wonderful asusual.
    Please plz add tutorials for Junit and Mockito.

  • @gedelasivakrishna
    @gedelasivakrishna 5 месяцев назад

    Awesome !!

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

    Really liked the "Spoiler alert" 😜

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

    this is really good content. but you should make videos in white theme in any IDE when you are teaching

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

    good explanation sir

  • @dineshshekhawat2021
    @dineshshekhawat2021 5 лет назад

    Brilliant! Just brilliant!

  • @anurag9110
    @anurag9110 5 лет назад

    Great video

  • @deveshmishra6611
    @deveshmishra6611 5 лет назад

    Thanks for this series

  • @prabhatyadav3373
    @prabhatyadav3373 5 лет назад

    Awesome 👍

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

    Very helpful , thanks

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

    God bless you 💓

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

    Wow! Great!
    When user sets the password in application.properties, then does this password securely travels from client side to server side.
    Or we have to add that encryption.

  • @cyborgplay
    @cyborgplay 5 лет назад +4

    The dependecy code:
    org.springframework.boot
    spring-boot-starter-security

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

    I Java brain,
    I have been following your series. It is must to appreciate the way the concept is explained. Good series.
    I have a query in spring boot security.
    Consider for a spring boot application, we have implemented spring boot security. Following to this, we have configured the username, password and uri to be protected based on the roles. Now, on running the code, the app should work fine if we access the uri. But, if we access the html page straight away, with out any authentication, the html page is getting loaded. I am not sure whether it is a bug or something. Could you please help here on how to protect the html pages also?

  • @FranklinXPe
    @FranklinXPe 5 лет назад

    What did you mean when said: ClassPath? The operating system's Classpath when we set en enviroment variables. Or The "src/java/main" path in the project?

    • @priyakdey7891
      @priyakdey7891 5 лет назад

      project class path - springboot classpath

  • @liubomyr-oleksandrdebryniu8044
    @liubomyr-oleksandrdebryniu8044 4 года назад

    thanks a lot very useful

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

    Thx Man!

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

    What dependencies you used to create the project?

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

    great bro

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

    i don't know how configurate spring security default username and password, thanks for this video

  • @nagendrapp2213
    @nagendrapp2213 5 лет назад

    could u plz upload a series on design patterns

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

    great man

  • @katiesun1533
    @katiesun1533 5 лет назад

    Great! 👍

  • @shaswatdasgupta3776
    @shaswatdasgupta3776 5 лет назад

    Thanks Kaushik!

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

    what is the name of the used intellij theme? thanks :)

  • @gowrisankar3905
    @gowrisankar3905 5 лет назад

    This is what iam waiting for

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

    Done thanks

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

    Should there be an empty application.properties file on git?

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

    if every instructor is like him, Harvard would go out of business

  • @anshgyl
    @anshgyl 5 лет назад

    Can you please add a video in which we can use a custom login page, instead of a default one, how do we call the login API from our own form?

  • @PrashanthSam..
    @PrashanthSam.. 2 года назад

    But we have a major issue here how the welcome page opened in the site did you add any properties in applicaton.properties?
    please respond

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

    Hi , Even after adding maven dependency spring-boot-starter-security in pom.xml file after starting the app login form is not getting displayed. Please guide me since I'm new to spring boot.

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

    When can we see Spring Session in Java brains Playlist ?

  • @Nikhil-mu9ol
    @Nikhil-mu9ol 5 лет назад

    Hi kaushik sir, please make one video on spring boot and hikari

  • @nithinvarghese7765
    @nithinvarghese7765 5 лет назад

    Thank you

  • @venkat81100
    @venkat81100 5 лет назад

    Tq Koushik👍

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

    this guy sounds like Dinesh from Silicon Valley :) I love watching it just for that

  • @sahinsarkar7293
    @sahinsarkar7293 5 лет назад +1

    Hi Koushik, I am trying to call a post API from postman after enabling spring security for my app. Now, I can't call the API after adding the username and password as a basic auth in postman ( this gives 401 error ), but when I enter the same credentials in chrome, the security part works. What should I do to send credentials properly for post request from postman?

  • @TheStrategist314
    @TheStrategist314 5 лет назад

    Nice.

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

    but sir for this sample code in ur controller your added @ResponseBody annotation then how u getting this out put in web page properly,m did u add some web page in resource

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

      Rest controller is basically controller + response body. So if you return a string from your rest controller, then it will be shown directly on the web page.

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

    Hi people,
    I am following this tutorial but the thing is i alway get a AlertBox that you can fill creditientals. Not a page just a little alertbox. Any idea why i have this ?

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

    That's nice

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

    mandatory authentications for all URLs still includes the /error page

  • @dhanya4741
    @dhanya4741 3 года назад +2

    Anyone watching this masterpiece in 2022?

  • @ashish23081991
    @ashish23081991 5 лет назад

    login page does not appear in postman , works in browser

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

    Can anyone tell me which theme in Intelij that he is using? thx