🔥 Spring Boot 3.0 | Configuring Spring Security in Spring Boot 3.0 | New way to configure Security

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

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

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

    I've been following you since 2 years now and all of your videos are very informative and up to date with latest technologies in depth and free thank you so much much appreciated.

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

      Bhai contact manager mai spring security add ki hai kya version 3+

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

    Thank you so much i was trying multiple videos on yt to learn the new way of spring security your videos helps me a lot.
    kudoos to you man

    • @ritikrstgi
      @ritikrstgi 10 หลายเดือนก่อน +1

      this method is also deprecated is this is work for you.?

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

    Great video! It's awesome to see the new way to configure security in Spring Boot 3.0. Thanks for sharing!

  • @girishingale4273
    @girishingale4273 7 หลายเดือนก่อน +1

    Thank you sir! Very very thank you for such informative video!❤❤

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

    Great video Bhai. And very much relevant to SpringBoot 3. Hatsoff for your efforts!

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

    You are simply superb. Spring security made so simple. Actually I don’t understand Hindi, but some magic you made when following your video. God bless you. I will implement this ASAP.

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

    Superb sir....earlier I used to refer you by saying Durgesh... but now automatically says refer to Durgesh SIR...

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

    This video helps me a lot to develop spring security in new spring boot version. Thanks @Durgesh Sir.

  • @SunilRathod-d9r
    @SunilRathod-d9r 5 หลายเดือนก่อน +1

    your videos really motivate us..!

  • @MdShamim-g6z7p
    @MdShamim-g6z7p ปีที่แล้ว +1

    awesome explanation, really its very good and helpful video💯

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

    Bhut dino se wait tha is video ka

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

    Yes i am following spring boot toturial and I am getting same problem thank you

  • @MidnightToons
    @MidnightToons 9 หลายเดือนก่อน +1

    Sir atleast you need to provide code , I stuck in same problem in several days i also purchase your spring boot code but the contact manager project code is missing

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

    it was helpful video. thanks for helping me understanding this new addition in security

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

    very good example, thank you very much

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

    thanks bhai....mai mera project naye se banana wala that....this helped a lot

  • @akshaypatil9352
    @akshaypatil9352 8 หลายเดือนก่อน +1

    Thank you so much sir, bring next Episode of it

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

      Ho gya aapka .koi error nhi aaya..?

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

    Sir I am not able to find the video you talked about at 13:52 . Please help!

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

    I m using mysql default user setup and i want to connect those users to spring security without creating a table it is possible to connect the default mysql users setup in spring boot

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

    fantastic approach and explanation

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

    Just Awesome. Very Simplified. I saw multiple videos but this is the one which gets all your basics cleared. Thanks Durgesh & Keep it up !!

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

    Thank you so much. Please bring next part of it.

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

    Very Helpful video

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

    Bro currently most of the companies adopting keyclock as oauth2 openid connect for security if possible pls introduce keyclock related videos in spring security playlist
    Thanks

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

    sir video a lot help me thank you so much sir

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

    great video brother

  • @ROSHANKUMAR-kn9mb
    @ROSHANKUMAR-kn9mb ปีที่แล้ว +1

    @entity annotation is now available under jakarta , javax package is not available with spring boot starter data jpa, how to get javax persistance package

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

      it is available in old version , you can access it in old version, in new version it is available under jakarta..

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

      Just change the package path to jakarta.persistance.*

  • @rushikeshshinde999
    @rushikeshshinde999 2 วันที่ผ่านมา

    I understand this 2 topic now i want learn custom Auth provider where the video i see video but it 3 year old video ...this video is very easy and clean code easily uundersrand......please replay me?????????????????????????????????????

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

    Hlo sir m trying to use latest verison of spring boot but not able hit POST Request Mapping.. Able to do GET mapping but for POST mapping still it is saying unauthorised in postman could u please help with this.?
    Additionally I want to do it with postman

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

      Hey I am facing the same..did u solved it??

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

      Deepika were you able to find the solution ?

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

      @@TejasChaudhari22 I am also facing the same . Were you able to find root cause for this?

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

      @@ambujtripathi3935 hey yes i found it.....

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

      Got the solution?

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

    This is so useful, but please add how user entity is used as central location to store the application users inside the Security configuration beans.

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

    can we use okta for user authentication?
    Kindly make a video for SB3, Spring Security and Okta

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

    Very thanks Sir

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

    the way you tell and the pin to pin detail with all the necessary codes is very convenient and straight farward to understand, thank you so much .

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

    Very informative

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

    Thanks for this ☺️

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

    Thanks bhai, mujhe ek doubt he, mere pass 2 se jyada microservices he, aur yeh sab sab configuration kaise kare? each n every microservice me same code karna padega? (me basic auth kar raha hu, username as token) toh token toh ek bar hi generate hoga, toh use token ko other microservice me kaise validate karenge?

  • @kumar-mh6hy
    @kumar-mh6hy ปีที่แล้ว

    In spring security, Should we declare hasRole in securityFilterChain or in userDetailsService Method
    And where to declare in case of multiple roles, Should we declare hasAnyRole in securityFilterChain or in userDetailsService Method

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

    Please make video to develop custom widget and use any independent platform in Angular 🎉🎉🎉

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

    Thankyou so much bhaiya

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

    Hello sir. I am using oauth2 and I want /register as unauthenticated. I follow you. But it says unauthorised access.

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

    i got error for give program logic in userdetails errors message i got

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

    Can you please provide the updated SecurityFilter code for Spring 3.2? `and`, `csrf` etc are all deprecated in 3.2.0.

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

      use csrf(csrf->csrf.disable()) instead of csrf().disable()

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

    I am getting no AuthenticationProvider found error
    Sir please have a look at this issue, I am using Inmemory authentication same as in video.

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

    Hi Sir. Thank you so much for all the content you provide. It really helped to improve my knowledge on spring boot. Could you please make some videos on Spring boot with caching concept. It will be really helpful.

  • @CaptainGaming430
    @CaptainGaming430 3 หลายเดือนก่อน

    method 'POST' is not supported] status=405 in login form

  • @priyankpatel6644
    @priyankpatel6644 7 หลายเดือนก่อน

    for post i am getting 401 unauthorised

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

    thank you, sir

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

    I have a doubt. Admin can access normal users but normal users cannot access admin. Is it correct?

  • @lmn8864
    @lmn8864 7 หลายเดือนก่อน

    What you is also depricated bro

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

    Will the same code work if the client used is Postman

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

    Can you please make video on JDK 11 Features?

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

    Is it compatible with Java 8 and spring boot 2.7 ?

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

    Authentication manager is not recognised in my spring boot application 3.0

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

    🙏🙏 Thanks

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

    this is also depricated like csrf,authorizehttpreq,and

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

    Please make a video for spring security with websockets

  • @balajigapat5335
    @balajigapat5335 7 หลายเดือนก่อน

    Sir, please provide the code. You gave a link to your site, but the code is not available there. Please provide code also

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

    thank you

  • @Praphul__Ji
    @Praphul__Ji 3 หลายเดือนก่อน +1

    @ 16:07 how ......

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

    Durgesh Bhai .. I am getting below error .. using SpringBoot 3.1, Spring Security 6.1 & Java 17
    There is no PasswordEncoder mapped for the id "null"

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

      UserDetails admin = User.withUsername("pradeep").password("{noop}password").roles("ADMIN").build();
      UserDetails normal = User.withUsername("deepu").password("{noop}password").roles("NORMAL").build();
      try like this it will works

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

    Bhia yrr code de do free me smag me nahi aa raha

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

    Please make a video, How we can assign multiple roles and multiple granted authorities (permissions)

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

    Thanks a lot sir, sir one video more about connection of react with spring boot bcz when I'm just trying to connect then it shows me axios error, bcz of that I'm getting stuck, pls sir humble request

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

    HI All ,
    I enabled basic authentication , Get method is working fine but post is not working , tried to disable csrf still no luck . Do anyone know how to fix this?

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

      facing the same issue

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

      did u get how to do?

  • @JohnDoe-ej6vm
    @JohnDoe-ej6vm ปีที่แล้ว

    Sir kindly is video k next part main custom user detail service aur jwt ka use sikha dain.

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

    Make a video on security 6.1+ 🥲🥲 new changes again

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

    Please make a video with jwt for new version

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

    Whenever i follow sir video i am not getting package option kindly someone explain

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

      Which package

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

      ​@@LearnCodeWithDurgesh sorry sir got I was talking for modules Sir, it was my mistake due to that this thing was happening

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

      Which IDE fo you use?

  • @a.m.jyotiprakashsahu5754
    @a.m.jyotiprakashsahu5754 ปีที่แล้ว

    sir, please make a video on oAuth in spring boot 3.0.

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

    How to get logged in users information in spring boot 3 security??

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

    What special in premium course????

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

    !!!! Please make a Vedio on rest API for sending Email using Microsoft Graph in SpringBoot. !!!!

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

    how to get username and password from database can anyone please
    tell me
    ?

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

      Create entity, repository and service classes, then attach the UserDetailsService bean that reads all the user credentials from the table. Then return the same.
      Then create two apis for login and signup. Signup and login should not need any authentication but other normal apis should by default need authentication. Try to check how it is done from internet, it is not tough.
      If you can persist the user names then it will be really helpful. Or you can defer db initialisation and add a default user in the table.
      Just don't mix JWT and security configuration classes together, you will be confused 😊

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

    Please make videos on kafka

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

    How to set appllication.properties username and password from spring security login form

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

      spring.security.username=
      spring.security.password=

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

    Sir please upload JWT token with

  • @Jai-Shree-RamJanki
    @Jai-Shree-RamJanki 4 หลายเดือนก่อน

    🎉

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

    from where i can get source code please help

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

    Sir ek simple sa spring boot payment gateway integration with jsp jpa mysql data base from java bana dijye please

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

    Sir please apply new security for all the projects u have done i am suffering to do this please

  • @lmn8864
    @lmn8864 7 หลายเดือนก่อน

    Bro i am unable to get source code

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

    sir i waste too much time please place these video at top of this playlist not at end

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

    Sir why u hidden core Java videos.

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

      Will upload soon, planing for new core java series

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

      @@LearnCodeWithDurgesh If that's the reason then I take my word back Sir and thanks for knowledge.

  • @keyur-vamja-it
    @keyur-vamja-it ปีที่แล้ว +1

    Add configuration of RoleHierarchy in Spring security 3

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

    updated , not working

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

    sir apki videos me audio bahut low rhta he bina earphones ke sunne me problem aati h

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

    🙏

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

    please add spring 3.0 in examportal #13

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

    hii sir please say english tutorils

  • @-thepighunter2819
    @-thepighunter2819 ปีที่แล้ว

    Mujhe apka paid course kharidna hai please help

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

    Is there any example of a custom login page?

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

    Java script, jquerry Or kuch mat lagaye please

  • @ankursaxena.melodies
    @ankursaxena.melodies 6 หลายเดือนก่อน

    Sir using this method I was getting
    ConverterNotFoundException
    org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [org.springframework.boot.autoconfigure.security.SecurityProperties$User]
    application.yml
    spring:
    security:
    user:
    name: user
    password: pass