Spring Boot 3.0 + Spring Security 6 | JWT Authentication & Authorization

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

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

  • @adityamazumdar3242
    @adityamazumdar3242 7 месяцев назад +4

    Maa'm, just wanted to convey a small message, your teaching has made my concepts very crystal clear, thankyou so much for the efforts you put in for the students, just a small request that i have from you, can you please cover these two topics with the sample implementations and interview questions, these two topics are frequently being asked in the interviews
    1) caching (with spring data redis)
    2) job scheduler.
    Maa'm please try to cover these topics asap, will be a great help

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

      Sure will try to cover soon. Thanks

    • @crackITTechieTalks
      @crackITTechieTalks  6 месяцев назад +2

      Spring redis cache video - ruclips.net/video/ZHocWNTZXns/видео.html

    • @adityamazumdar3242
      @adityamazumdar3242 6 месяцев назад

      @@crackITTechieTalks thankyou so much maa'm for listenting to your audience. You are a gem!😃

  • @utpalpatel4115
    @utpalpatel4115 7 месяцев назад +3

    What a perfect explanation! Heads of to you, thank you so much ❤

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

      Glad you liked it. Thanks!!

    • @jay-j6l
      @jay-j6l День назад

      The correct saying is, "Hats off to you", you never want to take someone's head off.

  • @siddharthagrawal4280
    @siddharthagrawal4280 7 месяцев назад +1

    Finally a good video that explains everything about spring security!
    Great Work. Can you also make a video on deploying springboot application over different platforms like heroku , GCP , AWS ?

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

      Sure will cover. Thanks for the suggestion

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

      @@crackITTechieTalks Please also show the integration application with postgresDb while deploying

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

      @@siddharthagrawal4280 sure will do

  • @ArtemAivazian-lm7be
    @ArtemAivazian-lm7be 7 месяцев назад +3

    Thank you so much! Perfect explanation

  • @abivarghese6555
    @abivarghese6555 6 месяцев назад +2

    Informative video but I want to note you that @EnableWebSecurity is not mandatory at class as spring autoconfiguration is enabled

  • @winwinindiamyindia9980
    @winwinindiamyindia9980 2 месяца назад

    Mam I have few questions... even after using jwt it can be broken..so 1) how to ensure that jwt can't be broken 2) in case jwt compromised what can be done to stop further damage by hacker 3)what are best practices to make application proper secure 4) does jwt really helps to make application secure.
    Eagerly waiting for your reply.
    Thanks

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

      1) Proper token rotation policy and setting expiration time of the token as needed by the application and no longer expiration times. 2)Revoking all the issued token can be a way to avoid further damage of the jwt token. 3)Cant be explain easily. The best ways will be a) having proper firewalls b) Allowing limited access (or) only required access to the application c) Implementing proper security measures. 4)Ofcourse, if implemented properly.

  • @YogeshJangid-w4u
    @YogeshJangid-w4u 5 месяцев назад

    This video is *NOTHING* but best video.😂

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

    Hi thanks for the video. Really liked it. The best JWT video I encountered on RUclips.
    This is very vast, so we need to learn/by heart these functions for JWT right? If you can say on this ma’am.

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

      Glad you liked the video!! When you start implementing these functionalities in your applications, you can remember easily. Also, refer spring documentation for any functionality. Going through the documentation and implementing is the easiest way to learn.

    • @kathaigal27
      @kathaigal27 6 месяцев назад

      @@crackITTechieTalks okay!!

  • @tanveersyed1049
    @tanveersyed1049 7 месяцев назад +1

    Nice video mam ...pls upload more videos....make a video centralized logging in microservices

  • @Ankit_sharma24
    @Ankit_sharma24 5 месяцев назад +3

    my admin controller which has method level security is not working showing 403 error rest all functionality working can you help me with it?

  • @Rajnish089
    @Rajnish089 6 месяцев назад

    beautifully explained, please explain spring transaction in deep with example

    • @crackITTechieTalks
      @crackITTechieTalks  6 месяцев назад

      Glad you liked it . Sure will cover in our future videos !!!

  • @Aditya-gt8ey
    @Aditya-gt8ey 7 месяцев назад

    maa'm can you make a follow-up video, in which you can show us how we can extend this code to have a refresh token functionality, and also we can implement logout functionality for it.

    • @crackITTechieTalks
      @crackITTechieTalks  7 месяцев назад +3

      Of course will do

    • @Aditya-gt8ey
      @Aditya-gt8ey 7 месяцев назад

      @@crackITTechieTalks maa'm when can we expect the follow up video for it

  • @unaisulhadi6445
    @unaisulhadi6445 2 месяца назад

    Well explained.

  • @HimanshuKumar-nf4ty
    @HimanshuKumar-nf4ty 6 месяцев назад

    Thanks for the explanation, really helpful video with clear understanding 🎉🎉🎉❤

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

    Great video How to integrate these api with custom html and CSS ?

  • @sivakrishna-ym4cg
    @sivakrishna-ym4cg 4 месяца назад

    Nice presentation. Could you please share the project

  • @skydandelion2560
    @skydandelion2560 3 месяца назад

    Can you make a Crash course Spring Boot With Docker. It will be much appreciated!

  • @samahmahdi5511
    @samahmahdi5511 6 месяцев назад

    Excellent explanation, thanks a lot

  • @arnabchowdhury4892
    @arnabchowdhury4892 7 месяцев назад +1

    Please explain curcit breaker pattern

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

      We already covered the circuit breaker pattern in our channel - ruclips.net/video/5Cb601qLrjA/видео.htmlsi=i5k4IBhskbiOUUAB

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

    Mam thank you very much. Can you please teach swagger manual yml file integration in spring boot 3x

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

    if only i find this video little soon

  • @nakulmaheshwari1934
    @nakulmaheshwari1934 7 месяцев назад +1

    Thanks

  • @lam.4721
    @lam.4721 3 месяца назад

    that's so good

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

    very good content, thank you

  • @vamshikrishnareddy1418
    @vamshikrishnareddy1418 6 месяцев назад

    Mam how can we change login page to custom login page

  • @asitpanigrahi5571
    @asitpanigrahi5571 6 месяцев назад

    Great Session from scratch, would be great if you include gradle , small request.

  • @sherwinsayo8602
    @sherwinsayo8602 6 месяцев назад

    why didn't pass a parameter in the method in the Application config theirs no parameter aside from authenticationManager method how the username is being passed to the method userDetailsService and authenticationProvider

  • @ndndjdwn12
    @ndndjdwn12 4 месяца назад

    ma,am when i get or post secured end point i got 403 error please give me solution

    • @crackITTechieTalks
      @crackITTechieTalks  2 месяца назад

      Make sure In User entity the get method of email is returning email by default it is set to null

  • @Aditya-gt8ey
    @Aditya-gt8ey 7 месяцев назад +1

    maa'm, my doubt is, when we can use jwt for authentication and authorization, then why do companies use iam tools like keycloak? because can you please provide a detailed response for it, like for what use cases we use jwt models, and then for what reasons we should migrate to iam softwares like keycloak

    • @crackITTechieTalks
      @crackITTechieTalks  7 месяцев назад +5

      Scalability is the big difference - Keycloak is more robust and provides centralized authentication and authorization. Also, Keycloak provides, single sign-on, social integration and should be used for large scale applications where as JWT can be used for medium sized and small scale applications.
      Keycloak provides additional security features like two factor authentication, brute force protection. There are few other advantages of Keycloak over JWT. If you need information, I can make a video if you want. Thanks.

    • @adityamazumdar3242
      @adityamazumdar3242 7 месяцев назад +1

      Maa'm can you please make a video on it, as the only reason for upgrading from jwt to keycloak, i can think of is when we want to give some third party access to other clients or services, this is the only use case i can think of, it will be very very helpful if you can make a video on it

  • @tishasudani5982
    @tishasudani5982 6 месяцев назад

    ma'am why we need to generate token at registration ??

    • @crackITTechieTalks
      @crackITTechieTalks  6 месяцев назад

      Generating token during registration is to access the application further. During registration itself all your roles will be created. So if you need to access the application immediately, you can use the token. If your usecase is to login after registration then in that case, its not required.

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

    If you post videos for java class loader methods and static class load and dynamic class load diff

  • @atharvsingh6901
    @atharvsingh6901 3 месяца назад

    01:12:09
    whenever i'm trying to authenticate, i'm getting 403 forbidden error. plz help mam. so many here are stuck on this. plz kindly help

    • @crackITTechieTalks
      @crackITTechieTalks  2 месяца назад

      Make sure In User entity the get method of email is returning email by default it is set to null

  • @ss-xh3hf
    @ss-xh3hf 7 месяцев назад

    great

  • @TharunTk07
    @TharunTk07 14 дней назад

    sister everything is fine but talk in normal speed here after

  • @student_03
    @student_03 3 месяца назад

    28:01

  • @MayankGrover-wf4go
    @MayankGrover-wf4go 6 месяцев назад

    hello mam
    Mam when i sending authentication request by postman it showing 403 forbiden
    and on iltellij Ide it showing
    2024-05-06T12:15:44.100+05:30 WARN 11520 --- [SpringSecurityJWT] [nio-8080-exec-2] o.s.s.c.bcrypt.BCryptPasswordEncoder : Empty encoded password
    please help me with this

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

      How did you solve this bro

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

      I'm getting the same

    • @MayankGrover-wf4go
      @MayankGrover-wf4go 5 месяцев назад

      @@surishtirajkaralia801 i didnt actually remeber. there was problem with getter and setter. it was returning null

    • @MayankGrover-wf4go
      @MayankGrover-wf4go 5 месяцев назад

      @@surishtirajkaralia801 Make sure In User entity the get method of email is returning email by deafult it is set to null

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

    are you on instagram