Spring Security Tutorial | In depth Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024

ความคิดเห็น • 231

  • @DailyCodeBuffer
    @DailyCodeBuffer  2 ปีที่แล้ว +6

    Visit brilliant.org/DailyCodeBuffer/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.

  • @erenyeager4452
    @erenyeager4452 2 ปีที่แล้ว +32

    Nice video. One suggestion, it would be better if you spend the first 15 mins of the video on which functions you plan to create and why. This would help us have a bigger picture in mind. Thank you for your effort.

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +8

      Thanks for suggestion
      I will try to implement that way from now on
      Keep Supporting

  • @seanfang398
    @seanfang398 ปีที่แล้ว +5

    Learning spring security is really making me scratch head (sorry, I am just a newbie to spring😂) . And this tutorial really helps me a lot, many thanks !❤

    • @mausamkumar6523
      @mausamkumar6523 ปีที่แล้ว +1

      Bro, I am watching this video at 1.5x.

  • @francksgenlecroyant
    @francksgenlecroyant 2 ปีที่แล้ว +3

    This is the best Spring Security Course about Authorization and Resource Server so far. Thanks bro, you made my day!

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Thanks 🙏
      Hope you enjoy the tutorial 😊

  • @commenter9451
    @commenter9451 2 ปีที่แล้ว +1

    The best tech channel 😍😍to learn programming languages and advanced concepts.

  • @prajjwallaad
    @prajjwallaad 2 ปีที่แล้ว +3

    An extremely important topic explained in a very simplified manner!

  • @Satyam_deb
    @Satyam_deb 2 ปีที่แล้ว +7

    The most awaited one i guess... All functionalities in a single course.. Loved it ❤️
    If you could continue this course and add List of Roles instead of single role it would be really helpful..

  • @MaheshKumar-gt9td
    @MaheshKumar-gt9td 6 หลายเดือนก่อน

    I felt that your explanation of the topics is awesome, I have only one suggestion that instead you do one video with long hours can break into small and share as a series would be very nice.

  • @dbarasuk1600
    @dbarasuk1600 2 ปีที่แล้ว +1

    Probably the best tutorial I saw on this topic

  • @irfandogic9579
    @irfandogic9579 2 ปีที่แล้ว +7

    Great videos, great explanation, great topics. I would like to see more Reactive Spring with Kotlin and Postgres (or just reactive spring with java and postgres)! Keep up the good work!

  • @riteshyt8170
    @riteshyt8170 2 ปีที่แล้ว +3

    Very helpful for beginners and intermediate spring developers... Exceptional content 👏👍

  • @AkashThkr7
    @AkashThkr7 2 ปีที่แล้ว

    Firstly, I find your video is a bit tough but now I'm learning more with your concepts.... Thanks

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Thanks 🙏🏻
      I will try more to make it more understandable

    • @AkashThkr7
      @AkashThkr7 2 ปีที่แล้ว

      @@DailyCodeBuffer Can u suggest me from where I learnt about Spring Scheduling CRON

  • @mayankjain2236
    @mayankjain2236 2 ปีที่แล้ว +2

    Ohohohoho... another excellent hands on series, which is like all in one here... this really helps us a lot... and thanks for sharing those links... I know its not easy to make such long informative tutorial without getting side tracked anywhere.... appreciate your efforts and patience in making such good videos... thank you much :)

  • @damumahendar
    @damumahendar 10 หลายเดือนก่อน +5

    lot of depricated API 's , methods , classes are there security is updated a lot in spring 6 pls do an updated tutorial .

  • @rushikeshgodase4150
    @rushikeshgodase4150 11 หลายเดือนก่อน +3

    1:01:11 You are creating new token. Then I think you should also update the expiration time as well. Please let me know right or wrong.

  • @atulsharma-nb3to
    @atulsharma-nb3to ปีที่แล้ว

    best thing about his video is how he creates bookmark chapter for each concept

  • @sessionexpert
    @sessionexpert 2 ปีที่แล้ว +2

    Great video as Always, Allah grant you great success a head, as you are sharing such a valuable content for free.

  • @yarik83men51
    @yarik83men51 2 ปีที่แล้ว

    The best lessons for Spring boot auth, security.

  • @nagavijaykumarprathi8531
    @nagavijaykumarprathi8531 2 ปีที่แล้ว +7

    Could please do a plsylist on creating e commerce application using
    1.spring boot microservices
    2. Mongodb
    3. Rabbitmq
    4. Jwt auth
    5. Api gsteway
    6. Circuit breaker
    7. Elk stack
    8. Redis cache
    With microservices user(admin, inventory, nrml customer )
    Cart
    Wishlist
    Payment
    Subscription (like amazon prime, Flipkart plus)
    Please try to do it. It will help us a lot.
    From your previous video we learn all individualy.
    Please do this project. It helps us how to know how things work togethe

  • @devbel
    @devbel 2 ปีที่แล้ว

    This is gold, great concepts explained in a simple way

  • @DeepakGupta-pz4fx
    @DeepakGupta-pz4fx 2 ปีที่แล้ว +1

    Thank you Shabbir ❤❤ I hope you are Listen my request this video. Your teaching style is amazing 👏 😍 🙌

  • @yatintripathi5638
    @yatintripathi5638 2 ปีที่แล้ว

    Your videos are great and on point...it helped me learn spring boot very clearly without any doubts...thanks

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Glad to hear that you got value from th tutorial 🙏🙏
      Keep Supporting

    • @yatintripathi5638
      @yatintripathi5638 2 ปีที่แล้ว +2

      @@DailyCodeBuffer please make a video on Quartz scheduler implementing calender also as it is not well explained anywhere on TH-cam

  • @nguyenhavu7542
    @nguyenhavu7542 2 ปีที่แล้ว +1

    Great video as always, everything is free, this is amazing. Thank you

  • @rydmerlin
    @rydmerlin 2 ปีที่แล้ว +1

    Try to reimport your maven project right hand side and verify it has the right dependencies. You shouldn’t need to invalidate cache.

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Thanks for the tip. I will do that from now

  • @sunilsahoo8138
    @sunilsahoo8138 2 ปีที่แล้ว

    Really heartly appreciated...mind blowing explanation...keep it up...god bless you for sharing knowledge with us.

  • @krunalsoni574
    @krunalsoni574 2 ปีที่แล้ว +1

    Brilliant Brother....You make coding easy as pie....👍👍

  • @amgu6596
    @amgu6596 2 ปีที่แล้ว +2

    Hello , very informative video.
    Need to know how to track multiple failed login attempts and how to block the user using spring security

  • @Phani.B13
    @Phani.B13 2 หลายเดือนก่อน

    Thanks for the tutorial. I just have a question, where are we getting the oauth2 access token from the authorisation server and where are we validating it in our client before the endpoint is accessed from rhe browser.

  • @ankitpatyal3201
    @ankitpatyal3201 2 ปีที่แล้ว +1

    The video was good but I just have one doubt. When the token is expiring you are deleting it from the database, so if someone wants to regenerate the token after expiration then he will not be able to generate as the generation of new token requires the availability of old token in the database. So, do we need to delete the token if it has expired ?

  • @slycreator
    @slycreator 2 ปีที่แล้ว +2

    Wow😊😊😊😊 Thanks Alot.
    Do you have a video on Testing in springboot ?
    I really enjoy how you teach spring🥺

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +2

      Thanks 🙏
      Spring boot tutorial covers the Testing as well

    • @slycreator
      @slycreator 2 ปีที่แล้ว +2

      Yea..I mean writing unit testing and integration testing in springboot

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Yes that. Please checkout that tutorial. If you think that any other topics needed, I will plan a video on that

  • @somsuryananda
    @somsuryananda 5 หลายเดือนก่อน

    Very wonderful video explanation. Although I would like to know one more aspect that how can we write Unit Tests for this code. Rather in generic how can we write Unit Tests for Spring based projects.

  • @subashraj3919
    @subashraj3919 ปีที่แล้ว

    Nice and Informative with Clear explanation Thanks.😊

  • @user-nt3jt1tm7k
    @user-nt3jt1tm7k 7 หลายเดือนก่อน

    do u have a playlist for newbies or could u plz recommend a source cuz found my self just copy pastin'

  • @vyankteshkarwa4959
    @vyankteshkarwa4959 ปีที่แล้ว

    Whole course is just amazing almost solve my every doubt about spring security thing
    You are amazing @dailycodebuffer
    Just a one request could you please make one video for explaining that Oauth2 thing we are confused where do we have to make changes in "Application.yml" file.

  • @lageraho3508
    @lageraho3508 ปีที่แล้ว

    When you have entity then why you created model I don't understand???Actually I have covered spring-boot videos of another youtuber..... Am here for Spring-Security only.....So it's kind of confusing for me.....

  • @nandanhj7053
    @nandanhj7053 2 ปีที่แล้ว

    Your helpful videos are the give away for us.Thanks and all the best 🙏👍

  • @tintin8111
    @tintin8111 ปีที่แล้ว

    Please help me!
    My code cannot redirect after authorization successfully, thems still login rollback.

  • @ravikumar-ek2jp
    @ravikumar-ek2jp 2 หลายเดือนก่อน

    I have little doubt, if user get the token after the 10 min of registration and then it will click for enable his registration.
    Now token has been expired and he has no api to re-generate the token again because you deleted the record from database.
    I think you need to focus on this and explore the api again.
    Thanks buddy for tutorial

  • @usamaiqbal9933
    @usamaiqbal9933 2 ปีที่แล้ว

    I just start watching this hope it will be another great video 🙂🙃
    Please make a video series on angular + springboot+ microservices + security + MySQL etc. like a Realtime example of full stack application end to end .

  • @zurumogbonda3225
    @zurumogbonda3225 ปีที่แล้ว

    Time 1:50:00 you added transactional in the CustomUserDetailsService, is there any reason for that??

  • @bthakur3870
    @bthakur3870 ปีที่แล้ว

    Awesome tutorial, Thank you

  • @athakur33
    @athakur33 2 ปีที่แล้ว

    Man, you are doing a great work!! Pls make some more videos.

  • @balakrushnabehera2800
    @balakrushnabehera2800 2 ปีที่แล้ว

    Great Job Bro👍 A small request from my side could you please make introductory video on applicationEvents and listener i am new learner and it will help new learners like me🙏🙏

  • @user-wx3ne3hb2w
    @user-wx3ne3hb2w 11 หลายเดือนก่อน

    At 41:00 why we are disabling the cors and csrf. Can anyone tell me the exact purpose of this two functions.

  • @vaibhavkgote
    @vaibhavkgote 11 หลายเดือนก่อน

    how do we add security client project as a module in spring security tutorial project? I'm using eclipse IDE.

  • @sriramiyab
    @sriramiyab 2 ปีที่แล้ว

    hi, how can i redirect to a html page, where i can show user information instead of showing json. Can any one help ? I am working with separate frontend and backend. Thank you.

  • @truongtranquang3986
    @truongtranquang3986 ปีที่แล้ว

    Hello, can i have a question? So, in this course, did you used spring security with JWT?

  • @therealkon_
    @therealkon_ 2 ปีที่แล้ว

    Why do you add the dependencies to the submodules pom and not to the parents pom? Isn't this supposed to be the other way around?

  • @amittoradmal5074
    @amittoradmal5074 2 ปีที่แล้ว +1

    Microservices video helped me a lot. Thanks for your efforts. 1 Question - Can I use this spring security code in my Login service in microservices? Please suggest me. waiting for your reply

  • @Anonymous-ri3vu
    @Anonymous-ri3vu 9 หลายเดือนก่อน

    I am getting Access to localhost is denied error and 403 error while trying to run the SpringSecurityClientApplication part. Somebody please help me fix it.

    • @thisislaz
      @thisislaz 9 หลายเดือนก่อน

      I believe the issue can be fixed if you add "/verifyRegistration" to the static String[] WHITE_LIST_URLS in WebSecurityConfid package, if you had not done that yet.

  • @user-xq9el3ik4l
    @user-xq9el3ik4l 3 หลายเดือนก่อน

    how to make a post Request call from Postman for the same endpoint ?

  • @berkaybln247
    @berkaybln247 ปีที่แล้ว

    Is there any video or a part of a video that you explained why we use events etc. ?? I dont get it why we need events in confirming user email and generally why we need events?

  • @user-zy5ig3ux7s
    @user-zy5ig3ux7s 2 ปีที่แล้ว

    Unknown provider ID 'spring' not sure why i am getting this issue

  • @matusseidl
    @matusseidl 2 ปีที่แล้ว

    is it possible to have client and auth server in the same project (jar -file )???

  • @MugiwaraTeamDLuffy
    @MugiwaraTeamDLuffy ปีที่แล้ว

    Hi, can anyone tell me which is the advantage of using the application events for the send of the email rather than using a simple service method to do it when the user is registered? Thank you

  • @kratarthsingh
    @kratarthsingh 8 หลายเดือนก่อน

    Which theme are you using? Is it Community Edition or Premium?

  • @mrityunjaisingh
    @mrityunjaisingh ปีที่แล้ว

    Please tell me why we create service interface and it's implementation seprate , what is its benefit??

  • @prateekthakker2358
    @prateekthakker2358 2 ปีที่แล้ว

    How would you get hold of old token in case the email is not received to regenerate token?

  • @adegbiteoluwafemi1892
    @adegbiteoluwafemi1892 ปีที่แล้ว +1

    Great. I have really learn a lot from your video. On this one, you said we can resend token even if token was not gotten but resending token requires old token. Is there anything I’m missing?

    • @DailyCodeBuffer
      @DailyCodeBuffer  ปีที่แล้ว

      Thank you so much if I had said so then I missspoke. sorry for that. But yeah once we get the tokrn then only will be able to send it.

  • @pratikkurbet3437
    @pratikkurbet3437 ปีที่แล้ว

    Very in details explaining for concept, Thanks Shabbir.
    But I'm stuck at auth-server:9000/login page its giving whitelabel error page ?
    Where did I go wrong?

  • @yugandharchowdary181
    @yugandharchowdary181 ปีที่แล้ว

    Hii broo I have one doubt, like how the role data have to give static, means when we are storing the data into database can we give the role

  • @rushikeshgodase4150
    @rushikeshgodase4150 11 หลายเดือนก่อน

    In this project, How can we register the user after applying auth2 security.

  • @krishnakalyan3213
    @krishnakalyan3213 2 ปีที่แล้ว +2

    Hi The video was amazing . Just a small thought when we are resending verification token we should also update the time in verification token table . Seems like as per current implenentation the expiration time is not getting updated in database along with new token . Please share your thoughts if i am wrong

    • @camperjr4413
      @camperjr4413 ปีที่แล้ว

      because he was setting the expiration time from entity and not updating VerificationToken entity expiration time before saving to db

  • @connect2soumen
    @connect2soumen ปีที่แล้ว +1

    Hi Shabbir. Thanks for this detailed tutorial on Spring Security, easy to understand. However I am facing issue while building client app.
    Error LogCaused by: java.lang.IllegalStateException: Unknown provider ID 'spring'
    Is there any configuration I have missed to add. Kindly assist on this. TIA.

    • @ujjwalranjan7245
      @ujjwalranjan7245 ปีที่แล้ว

      hey Soumen I am facing same issue.Did you find solution?

  • @ganeshande5708
    @ganeshande5708 6 หลายเดือนก่อน

    Bro in now they are saying there are lot of changes done in spring security is it older or new one is it ok for me to learn this

  • @manivasuppalamarthi6948
    @manivasuppalamarthi6948 ปีที่แล้ว

    Very useful and very informative

  • @nikhileshyoutube4924
    @nikhileshyoutube4924 2 ปีที่แล้ว

    Weeknd stuff 🔥🙏🏻🙏🏻🥳

  • @shrikantkale8622
    @shrikantkale8622 2 ปีที่แล้ว

    Nice Tutorials❤Best Channel 👍

  • @mitayarshop796
    @mitayarshop796 2 ปีที่แล้ว +1

    Please explain with the project react .Previous movie

  • @rahul-thakur
    @rahul-thakur ปีที่แล้ว

    Hey 👋
    I just wanted to ask you one thing, why we are using two different classes for model and entity, why they can’t be same?
    Why we can’t use entity as modal(POJO), since we are having duplicate code.

    • @camperjr4413
      @camperjr4413 ปีที่แล้ว +1

      i think model is same as dto.if u dont want to expose all the db column to client then u use model or dto

  • @berihunhadis3960
    @berihunhadis3960 2 ปีที่แล้ว

    thank you, your tutorial is helpful

  • @shyamsoni5389
    @shyamsoni5389 2 ปีที่แล้ว

    I have given only one URL in whitelist but its permits all the end points.
    I have cloned your code as well but its stil the same.
    Can you please confirm what are the changes required

    • @shubhammahindru3563
      @shubhammahindru3563 ปีที่แล้ว

      I am also facing th same issue, whitelisting doesn't works

  • @YoutuberMaskarado
    @YoutuberMaskarado 2 ปีที่แล้ว +3

    Hi! Thank you again for the one of the best channels on youtube, fast and clear! I have a question, what is the difference between this and the
    OAuth 2.0 Implementation with Spring Security and Spring Boot | Full Example video? I am learning about jwt and security and had read about a config server with spring cloud for store secret keys for authorization, something like that. Do you have any video like that?

  • @juanmaporrero2973
    @juanmaporrero2973 2 ปีที่แล้ว

    Hi! Amazing video! What could be happening if after login, with correct credentials, the login page is shown again? Thanks!!

  • @createit759
    @createit759 2 ปีที่แล้ว

    Hello! I really like the way you teach us how to do complex things easily. Really like your videos. Please, can you tell me which IntelliJ theme you're using? It looks very cool! Thanks!

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Thank you so much 😊
      I am using Xcode dark theme

    • @createit759
      @createit759 2 ปีที่แล้ว

      @@DailyCodeBuffer thanks again.

  • @kunzou
    @kunzou ปีที่แล้ว +1

    Thanks!

  • @hcrnn7518
    @hcrnn7518 10 หลายเดือนก่อน

    Lets get started

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 2 ปีที่แล้ว

    We want next video Spring MVC crash course. I hope you make video this topic

  • @yuckri
    @yuckri 2 ปีที่แล้ว

    It's a very useful video. I tried to implement it to the end according to the tutorial. However, when I log in as a valid user, the "Content required" page does not appear. WhiteErrorPage (Bad Request / 400 error) is displayed.
    What could be the cause?

    • @youssouphafaye1710
      @youssouphafaye1710 2 ปีที่แล้ว

      same error for me too if you find the solution can you share it please

  • @jatinsharma3792
    @jatinsharma3792 ปีที่แล้ว

    Can you make a part how to configure and prevention of CSRF attacks in Spring web application. ( I am not talking about spring boot )

  • @ujjwalranjan7245
    @ujjwalranjan7245 ปีที่แล้ว +1

    Can we use @Bean inside @Service as PasswordEncoder is defined in CustomUserDetailService Class?
    Btw Thank you for your efforts.

    • @ujjwalranjan7245
      @ujjwalranjan7245 ปีที่แล้ว

      Also at 2:10:19 will bindAuthenticationProvider be @Autowired or @Bean?

  • @yogeshpatel4037
    @yogeshpatel4037 2 ปีที่แล้ว

    Amazing video. 👌

  • @vanshikashah3013
    @vanshikashah3013 2 ปีที่แล้ว

    Well done!!

  • @nchavva
    @nchavva 2 ปีที่แล้ว +1

    Superb video. Can you make video with react app login and session management.

  • @ayaanrashid960
    @ayaanrashid960 2 หลายเดือนก่อน

    I hope you are reading this, why did you use User in both model and Entity

  • @kckantande
    @kckantande 2 ปีที่แล้ว +1

    When the verification token expires, how would you handle the unverified user entry, in the database? In case that person wants to register with those same details.
    Great video by the way

    • @kareendawn4991
      @kareendawn4991 ปีที่แล้ว

      I think we can always check if that user already exists in the database before creating the user. If the user exists but the registration has not been verified then we can just resend a verification token to complete the pending registration instead of re-registration.

    • @vampzzz
      @vampzzz 10 หลายเดือนก่อน

      @@kareendawn4991 if the vertificationToken is expired then how are we going to get the user details, as he is deleting the token from the DB. I think the token shouldn't be deleted instead there should just be some service logic which just checks if the token is expired or not.

  • @pasza01
    @pasza01 2 ปีที่แล้ว

    Great tutorial!!!. Any videos regarding Vaadin and Springboot framework in future?

  • @suryas2845
    @suryas2845 2 ปีที่แล้ว +1

    Tq so much bro...

  • @sharadpratap
    @sharadpratap 2 ปีที่แล้ว

    Awesome Guy!

  • @ashokumakrish
    @ashokumakrish 2 ปีที่แล้ว +1

    Please post the Angular videos also.

  • @scotneymamai4673
    @scotneymamai4673 2 ปีที่แล้ว

    This video is good but I have not understood anything. What is the difference between the model and the entity? Because I tried implementing things as you have done in the video but my code kept on pointing back to the entity class and not the model class

    • @ibrbou1801
      @ibrbou1801 ปีที่แล้ว

      that's an approach called dto i think

  • @siddhantjaiswal4231
    @siddhantjaiswal4231 ปีที่แล้ว

    Why are you calling super() in VerificationToken()

  • @banjokoabiodun3050
    @banjokoabiodun3050 2 ปีที่แล้ว

    A nice masterpiece . Which of your videos did you implement email with springboot ?

    • @banjokoabiodun3050
      @banjokoabiodun3050 2 ปีที่แล้ว

      @33:43 MINUTES , You said you have created a video for sending email. which of your videos please ?

  • @omarakki705
    @omarakki705 2 ปีที่แล้ว

    Thank you so much

  • @ibrbou1801
    @ibrbou1801 ปีที่แล้ว

    you created another project as parent and added the two projects but you didn't said it in the video

  • @naveenvenkatesh3222
    @naveenvenkatesh3222 2 ปีที่แล้ว

    Top notch 👌🙏

  • @user-sz8gd1so2h
    @user-sz8gd1so2h 2 ปีที่แล้ว

    From Russia with love)

  • @vaibhzDixit
    @vaibhzDixit 2 ปีที่แล้ว

    Great 👌
    Thanks

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Thanks.
      Hope you enjoy the tutorial 🙏

  • @ramosespann6496
    @ramosespann6496 2 ปีที่แล้ว

    Hi , do you have vídeos of Spring webflux?

  • @animeisheaven
    @animeisheaven 2 ปีที่แล้ว

    I love Your Setup..
    u r using Intellij ?? & theme & icon theme..