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

Поділитися
Вставка
  • Опубліковано 5 лют 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 2 місяці тому

      Can't agree more. This course is brain dynamite

  • @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!

  • @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!

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

  • @utsavanand5558
    @utsavanand5558 5 років тому +5

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

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

  • @sud19891
    @sud19891 2 роки тому

    Thanks

    • @Java.Brains
      @Java.Brains  2 роки тому

      Thanks so much Appreciate the contribution

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

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

  • @SATYANARAYANAGUGGILAPU
    @SATYANARAYANAGUGGILAPU 7 місяців тому

    Very useful videos - explained crisp clear. Greatful to you

  • @falgunrajput8490
    @falgunrajput8490 5 років тому

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

  • @balanepalaiyathane9714
    @balanepalaiyathane9714 4 роки тому

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

  • @vamshireddy6722
    @vamshireddy6722 5 років тому

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

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

  • @ibtissamboutahi3078
    @ibtissamboutahi3078 5 років тому

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

  • @108vicky
    @108vicky 5 років тому

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

  • @maheshshete7000
    @maheshshete7000 2 роки тому

    Very nice explanation sweet and short

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

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 11 місяців тому

    Fantastic tutorial! Thank you so much! 💛

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

  • @LalitKumar-cw9rf
    @LalitKumar-cw9rf 2 роки тому

    Very good tutorials , easy to understand

  • @ronaksayta8191
    @ronaksayta8191 3 роки тому

    I wanted to clear my concepts your video helped me thanks

  • @go_better
    @go_better 2 роки тому

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

  • @karkiashwin1174
    @karkiashwin1174 5 років тому

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

  • @raghavanaliassaravananm1546
    @raghavanaliassaravananm1546 3 роки тому

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

  • @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 :(

  • @wafaeletje
    @wafaeletje 2 роки тому

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

  • @SuperWhatusername
    @SuperWhatusername 2 роки тому

    Thank you for the tutorial

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

  • @chandniyadav1697
    @chandniyadav1697 3 роки тому

    Amazing explanation!

  • @adityan422
    @adityan422 5 років тому

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

  • @CHANDRU419
    @CHANDRU419 5 років тому +1

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

  • @gedelasivakrishna
    @gedelasivakrishna 5 місяців тому

    Awesome !!

  • @devrajatverma
    @devrajatverma 4 роки тому

    Really liked the "Spoiler alert" 😜

  • @lindijin8103
    @lindijin8103 3 роки тому

    Thank youu. So simple and useful

  • @josephpudupermanil704
    @josephpudupermanil704 5 років тому

    Great Explanation. Great content.

  • @southindianadventure4791
    @southindianadventure4791 4 роки тому

    good explanation sir

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

  • @jnfrle
    @jnfrle 5 років тому

    Thanks so much for making this available!

  • @SushilKumarBhaskar
    @SushilKumarBhaskar 5 років тому +4

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

  • @ShameeraAnuranga
    @ShameeraAnuranga 5 років тому

    Explained All the things very nicely

  • @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 ?

  • @KP-hz5wm
    @KP-hz5wm 4 роки тому

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

  • @prabhatyadav3373
    @prabhatyadav3373 5 років тому

    Awesome 👍

  • @anurag9110
    @anurag9110 5 років тому

    Great video

  • @beinglogicalyadav9750
    @beinglogicalyadav9750 5 років тому

    Fabulous as always......

  • @pratyush__agarwal
    @pratyush__agarwal 4 роки тому

    God bless you 💓

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

  • @dineshshekhawat2021
    @dineshshekhawat2021 5 років тому

    Brilliant! Just brilliant!

  • @josephkingstonleomariamich7220
    @josephkingstonleomariamich7220 5 років тому

    One of the best persons thanks

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

  • @bhargavartworks
    @bhargavartworks 4 роки тому

    Very helpful , thanks

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

  • @AbhishekChanda
    @AbhishekChanda 5 років тому +122

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

  • @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?

  • @Imthatguyx10
    @Imthatguyx10 4 роки тому

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

  • @deveshmishra6611
    @deveshmishra6611 5 років тому

    Thanks for this series

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 4 роки тому

    great bro

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

  • @ImperialSolo
    @ImperialSolo Рік тому

    Thx Man!

  • @pablohernandez4305
    @pablohernandez4305 3 роки тому

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

  • @liubomyr-oleksandrdebryniu8044
    @liubomyr-oleksandrdebryniu8044 5 років тому

    thanks a lot very useful

  • @menabebawy390
    @menabebawy390 2 роки тому

    great man

  • @katiesun1533
    @katiesun1533 5 років тому

    Great! 👍

  • @dhanya4741
    @dhanya4741 3 роки тому +2

    Anyone watching this masterpiece in 2022?

  • @alexandrustan8143
    @alexandrustan8143 2 роки тому

    What dependencies you used to create the project?

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

  • @keyurnayee6746
    @keyurnayee6746 3 роки тому

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

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

  • @d2k2
    @d2k2 Рік тому

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

  • @mostinho7
    @mostinho7 5 років тому +1

    Done thanks

  • @dionthomas7077
    @dionthomas7077 2 роки тому

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

  • @amruthakm1042
    @amruthakm1042 5 років тому

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

  • @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?

  • @gowrisankar3905
    @gowrisankar3905 5 років тому

    This is what iam waiting for

  • @shaswatdasgupta3776
    @shaswatdasgupta3776 5 років тому

    Thanks Kaushik!

  • @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 ?

  • @romantum
    @romantum 4 роки тому +2

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

  • @lequocthinh8992
    @lequocthinh8992 3 роки тому

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

  • @TheStrategist314
    @TheStrategist314 5 років тому

    Nice.

  • @melsaied101
    @melsaied101 4 роки тому

    That's nice

  • @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?

  • @nagendrapp2213
    @nagendrapp2213 5 років тому

    could u plz upload a series on design patterns

  • @cyborgplay
    @cyborgplay 5 років тому +4

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

  • @venkat81100
    @venkat81100 5 років тому

    Tq Koushik👍

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

  • @ifeanyichukwuotiwa9510
    @ifeanyichukwuotiwa9510 3 роки тому

    mandatory authentications for all URLs still includes the /error page

  • @nithinvarghese7765
    @nithinvarghese7765 5 років тому

    Thank you

  • @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?

  • @Joe-qv2jo
    @Joe-qv2jo 2 роки тому

    Never expected a login screen out of the box lol

  • @ashish23081991
    @ashish23081991 5 років тому

    login page does not appear in postman , works in browser

  • @spnarayanrao
    @spnarayanrao 4 роки тому

    how to upgrade from Struts security to Spring Security, in Struts project using Security with Struts Security tag lib now how to upgrade to Spring Security. Can you please give some info or create a video on that

  • @kaji6087
    @kaji6087 4 роки тому

    Anyone knows the name of the theme he is using?