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

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

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

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

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

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

  • @TanujKumarSaini
    @TanujKumarSaini Год назад +1

    Bhut dino se wait tha is video ka

  • @SunilRathod-d9r
    @SunilRathod-d9r 5 месяцев назад +1

    your videos really motivate us..!

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

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

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

  • @MdShamim-g6z7p
    @MdShamim-g6z7p Год назад +1

    awesome explanation, really its very good and helpful video💯

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

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

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

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

  • @MidnightToons
    @MidnightToons 8 месяцев назад +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

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

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

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

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

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

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

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

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

    Thank you so much sir, bring next Episode of it

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

      Ho gya aapka .koi error nhi aaya..?

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

    very good example, thank you very much

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

  • @SinghHarmanat
    @SinghHarmanat Год назад +2

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

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

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

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

    fantastic approach and explanation

  • @varshayadav1221
    @varshayadav1221 10 месяцев назад

    sir video a lot help me thank you so much sir

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

  • @rahul-java-dev
    @rahul-java-dev Год назад

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

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

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

    Very Helpful video

  • @latikasurse4158
    @latikasurse4158 Год назад +1

    Can you please make video on JDK 11 Features?

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

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

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

    Very thanks Sir

  • @Asjad321
    @Asjad321 10 месяцев назад

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

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

    great video brother

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

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

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

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

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

    Please make a video for spring security with websockets

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

    Very informative

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

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

    Thankyou so much bhaiya

  • @nirajraj7337
    @nirajraj7337 Год назад +1

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

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

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

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

    Thanks for this ☺️

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

  • @naveendagumati1
    @naveendagumati1 9 месяцев назад

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

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

  • @JohnDoe-ej6vm
    @JohnDoe-ej6vm Год назад

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

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

    Authentication manager is not recognised in my spring boot application 3.0

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

    thank you, sir

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

    Will the same code work if the client used is Postman

  • @a.m.jyotiprakashsahu5754
    @a.m.jyotiprakashsahu5754 Год назад

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

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

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

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

    Please make a video with jwt for new version

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

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

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

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

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

    for post i am getting 401 unauthorised

  • @Praphul__Ji
    @Praphul__Ji 3 месяца назад +1

    @ 16:07 how ......

  • @sunilbaral9605
    @sunilbaral9605 9 месяцев назад

    this is also depricated like csrf,authorizehttpreq,and

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

    What you is also depricated bro

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

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

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

    Is it compatible with Java 8 and spring boot 2.7 ?

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

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

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

    🙏🙏 Thanks

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

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

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

    thank you

  • @technologyking8105
    @technologyking8105 Год назад +1

    Sir please upload JWT token with

  • @keyur-vamja-it
    @keyur-vamja-it Год назад +1

    Add configuration of RoleHierarchy in Spring security 3

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

    Please make videos on kafka

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

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

    What special in premium course????

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

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

  • @rishabhgarg6692
    @rishabhgarg6692 Год назад +3

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

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

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

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

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

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

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

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

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

  • @yashupadhyay1023
    @yashupadhyay1023 9 месяцев назад

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

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

    from where i can get source code please help

  • @Jai-Shree-RamJanki
    @Jai-Shree-RamJanki 4 месяца назад

    🎉

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

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

    Bro i am unable to get source code

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

    please add spring 3.0 in examportal #13

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

    updated , not working

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

    hii sir please say english tutorils

  • @-thepighunter2819
    @-thepighunter2819 Год назад

    Mujhe apka paid course kharidna hai please help

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

    🙏

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