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

  Рет қаралды 79,879

Learn Code With Durgesh

Learn Code With Durgesh

Күн бұрын

In this video, we'll be discussing the new way of configuring security in Spring Boot 3. Spring Boot is a popular framework for building Java-based web applications, and version 3 brings some exciting changes to the way security is configured. We'll be walking through the process step-by-step, showing you how to set up and customize security for your application. Whether you're a seasoned Spring developer or new to the framework, this video will give you a solid understanding of the new security features in Spring Boot 3. So sit back, relax, and get ready to learn about the latest and greatest in Spring security.[Hindi]
#springboot #springsecurity
Telegram Link for Doubt: t.me/learncode...
Important Videos:
➡️React JS with Project : • 🔥 🔥 Complete React Js ...
➡️Learn JDBC in one video: • JDBC Crash Course in 1...
➡️Learn Python in One Video: • Learn Python in One Vi...
➡️Learn HTML in one video: • Jquery in one video in...
➡️Learn HTML form in one video: • Jquery in one video in...
➡️Learn JavaScript in one videos: • Learn JavaScript in O...
➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
➡️Learn CSS in one video: • Jquery in one video in...
➡️Jquery in one video: • Jquery in one video in...
Kotlin is one video: • Kotlin | Learn Kotlin ...
➡️Complete Python Project - KZfaq downloader in one video: • Jquery in one video in...
Important Playlist:
➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
➡️Hibernate Tutorials: • Hibernate Tutorial for...
➡️E-Commerce Project using Java: • E-Commerce Project usi...
➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
➡️Learn Technology in One Vides: • Learn in one video : C...
➡️Programming Tips for Programmers: • Coding Tips and Discus...
➡️Complete Python for Beginners: • Complete Python Tutori...
➡️Important Python Projects: • Python Projects in Hindi
➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
➡️Java Swing Projects: • Java Projects for begi...
➡️Java Core Concepts: • Java Core Tutorial
➡️Kya aap Jante hai Series: • kya app jante hai : s...
Important Links:
👉Official Website (Source Code): learncodewithd...
👉Telegram Discussion Group: t.me/learncode...
👉Follow me on Instagram: / durgesh_k_t
👉Follow on Facebook / learncodewithdurgesh
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Пікірлер: 121
@snehasisdutta8709
@snehasisdutta8709 10 ай бұрын
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 10 ай бұрын
Bhai contact manager mai spring security add ki hai kya version 3+
@user-ql4nt3te6r
@user-ql4nt3te6r Ай бұрын
your videos really motivate us..!
@MidnightToons
@MidnightToons 4 ай бұрын
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
@girishingale4273
@girishingale4273 2 ай бұрын
Thank you sir! Very very thank you for such informative video!❤❤
@LifeCodeGame
@LifeCodeGame Жыл бұрын
Great video! It's awesome to see the new way to configure security in Spring Boot 3.0. Thanks for sharing!
@abhimalvekr127
@abhimalvekr127 Ай бұрын
Great video Bhai. And very much relevant to SpringBoot 3. Hatsoff for your efforts!
@shreyashkakde9315
@shreyashkakde9315 6 ай бұрын
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 6 ай бұрын
this method is also deprecated is this is work for you.?
@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.
@akshaypatil9352
@akshaypatil9352 3 ай бұрын
Thank you so much sir, bring next Episode of it
@smandal1237
@smandal1237 Ай бұрын
Ho gya aapka .koi error nhi aaya..?
@avinashzaware5887
@avinashzaware5887 Жыл бұрын
This video helps me a lot to develop spring security in new spring boot version. Thanks @Durgesh Sir.
@TanujKumarSaini
@TanujKumarSaini Жыл бұрын
Bhut dino se wait tha is video ka
@user-kh8vo9zk5z
@user-kh8vo9zk5z Жыл бұрын
awesome explanation, really its very good and helpful video💯
@AnubhabKundu
@AnubhabKundu 2 ай бұрын
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.
@stark469
@stark469 Жыл бұрын
it was helpful video. thanks for helping me understanding this new addition in security
@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 .
@prakashpandey96
@prakashpandey96 7 ай бұрын
Yes i am following spring boot toturial and I am getting same problem thank you
@amitkumarkhade7988
@amitkumarkhade7988 7 ай бұрын
Just Awesome. Very Simplified. I saw multiple videos but this is the one which gets all your basics cleared. Thanks Durgesh & Keep it up !!
@_Mayur_pawar_
@_Mayur_pawar_ 4 ай бұрын
same bro
@mohammadrafilucky2318
@mohammadrafilucky2318 Жыл бұрын
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
@akshaynilkanth9671
@akshaynilkanth9671 Жыл бұрын
thanks bhai....mai mera project naye se banana wala that....this helped a lot
@rakeshdeo6197
@rakeshdeo6197 8 ай бұрын
very good example, thank you very much
@rahul-java-dev
@rahul-java-dev Жыл бұрын
Thank you so much. Please bring next part of it.
@SinghHarmanat
@SinghHarmanat Жыл бұрын
can we use okta for user authentication? Kindly make a video for SB3, Spring Security and Okta
@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.
@rishabhgarg6692
@rishabhgarg6692 Жыл бұрын
sir i waste too much time please place these video at top of this playlist not at end
@varshayadav1221
@varshayadav1221 6 ай бұрын
sir video a lot help me thank you so much sir
@Asjad321
@Asjad321 6 ай бұрын
Please make video to develop custom widget and use any independent platform in Angular 🎉🎉🎉
@satyamjaiswal5251
@satyamjaiswal5251 Жыл бұрын
fantastic approach and explanation
@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
@nirajraj7337
@nirajraj7337 Жыл бұрын
I have a doubt. Admin can access normal users but normal users cannot access admin. Is it correct?
@latikasurse4158
@latikasurse4158 Жыл бұрын
Can you please make video on JDK 11 Features?
@naveentmyug
@naveentmyug 6 ай бұрын
Very thanks Sir
@waqarahmed5408
@waqarahmed5408 Жыл бұрын
Please make a video, How we can assign multiple roles and multiple granted authorities (permissions)
@salehaiqbal3962
@salehaiqbal3962 Жыл бұрын
Very Helpful video
@vijaykaloo128
@vijaykaloo128 Жыл бұрын
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
@user-fh4ed5ru5k
@user-fh4ed5ru5k 11 ай бұрын
great video brother
@shiwamverma8312
@shiwamverma8312 Жыл бұрын
Thankyou so much bhaiya
@sunnykosle8865
@sunnykosle8865 Жыл бұрын
Very informative
@vedantzanjad5905
@vedantzanjad5905 Жыл бұрын
Thanks for this ☺️
@gokulupadhyay3475
@gokulupadhyay3475 Жыл бұрын
Please make a video for spring security with websockets
@dew_reddit
@dew_reddit 8 ай бұрын
Can you please provide the updated SecurityFilter code for Spring 3.2? `and`, `csrf` etc are all deprecated in 3.2.0.
@AnubhabKundu
@AnubhabKundu 2 ай бұрын
use csrf(csrf->csrf.disable()) instead of csrf().disable()
@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
@omkarbhasar6261
@omkarbhasar6261 Жыл бұрын
thank you, sir
@ankitaggarwal7906
@ankitaggarwal7906 23 күн бұрын
Will the same code work if the client used is Postman
@deepikachougule6896
@deepikachougule6896 Жыл бұрын
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
@tejaschaudhari3259
@tejaschaudhari3259 Жыл бұрын
Hey I am facing the same..did u solved it??
@ambujtripathi3935
@ambujtripathi3935 Жыл бұрын
Deepika were you able to find the solution ?
@ambujtripathi3935
@ambujtripathi3935 Жыл бұрын
@@tejaschaudhari3259 I am also facing the same . Were you able to find root cause for this?
@tejaschaudhari3259
@tejaschaudhari3259 Жыл бұрын
@@ambujtripathi3935 hey yes i found it.....
@sanjanagp5408
@sanjanagp5408 Жыл бұрын
Got the solution?
@JohnDoe-ej6vm
@JohnDoe-ej6vm Жыл бұрын
Sir kindly is video k next part main custom user detail service aur jwt ka use sikha dain.
@technologyking8105
@technologyking8105 Жыл бұрын
Sir please upload JWT token with
@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?
@ROSHANKUMAR-kn9mb
@ROSHANKUMAR-kn9mb Жыл бұрын
@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 2 ай бұрын
Just change the package path to jakarta.persistance.*
@sunilbaral9605
@sunilbaral9605 4 ай бұрын
this is also depricated like csrf,authorizehttpreq,and
@Kazem23
@Kazem23 Жыл бұрын
thank you
@priyankpatel6644
@priyankpatel6644 3 ай бұрын
for post i am getting 401 unauthorised
@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.
@lmn8864
@lmn8864 2 ай бұрын
What you is also depricated bro
@naveendagumati1
@naveendagumati1 4 ай бұрын
i got error for give program logic in userdetails errors message i got
@yashupadhyay1023
@yashupadhyay1023 4 ай бұрын
sir apki videos me audio bahut low rhta he bina earphones ke sunne me problem aati h
@balajigapat5335
@balajigapat5335 3 ай бұрын
Sir, please provide the code. You gave a link to your site, but the code is not available there. Please provide code also
@HukkaMarleBr
@HukkaMarleBr 11 ай бұрын
Sir I am not able to find the video you talked about at 13:52 . Please help!
@rishiraj2548
@rishiraj2548 Жыл бұрын
🙏🙏 Thanks
@annusingh4038
@annusingh4038 Жыл бұрын
!!!! Please make a Vedio on rest API for sending Email using Microsoft Graph in SpringBoot. !!!!
@MindRelaxSongs2
@MindRelaxSongs2 Жыл бұрын
Please make a video with jwt for new version
@MidnightToons
@MidnightToons 4 ай бұрын
Bhia yrr code de do free me smag me nahi aa raha
@HasratParwez
@HasratParwez Жыл бұрын
Hello sir. I am using oauth2 and I want /register as unauthenticated. I follow you. But it says unauthorised access.
@aartisingh2539
@aartisingh2539 11 ай бұрын
Is it compatible with Java 8 and spring boot 2.7 ?
@robinmathew8828
@robinmathew8828 11 ай бұрын
Authentication manager is not recognised in my spring boot application 3.0
@zawadhossain6264
@zawadhossain6264 10 ай бұрын
Make a video on security 6.1+ 🥲🥲 new changes again
@keyur-vamja-it
@keyur-vamja-it Жыл бұрын
Add configuration of RoleHierarchy in Spring security 3
@pranjalsharma5611
@pranjalsharma5611 Жыл бұрын
Please make videos on kafka
@nishantvyas5098
@nishantvyas5098 Жыл бұрын
Sir ek simple sa spring boot payment gateway integration with jsp jpa mysql data base from java bana dijye please
@rahulnimbokar6086
@rahulnimbokar6086 Жыл бұрын
How to get logged in users information in spring boot 3 security??
@avn6870
@avn6870 Жыл бұрын
What special in premium course????
@lmn8864
@lmn8864 2 ай бұрын
Bro i am unable to get source code
@hqwebworld9970
@hqwebworld9970 Жыл бұрын
Sir please apply new security for all the projects u have done i am suffering to do this please
@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
@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 Ай бұрын
facing the same issue
@srujanas4520
@srujanas4520 Ай бұрын
did u get how to do?
@jollyray7513
@jollyray7513 Жыл бұрын
from where i can get source code please help
@rise6813
@rise6813 Жыл бұрын
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.
@alpachino999
@alpachino999 10 ай бұрын
Whenever i follow sir video i am not getting package option kindly someone explain
@LearnCodeWithDurgesh
@LearnCodeWithDurgesh 10 ай бұрын
Which package
@alpachino999
@alpachino999 10 ай бұрын
​@@LearnCodeWithDurgesh sorry sir got I was talking for modules Sir, it was my mistake due to that this thing was happening
@AnubhabKundu
@AnubhabKundu 2 ай бұрын
Which IDE fo you use?
@manishgupt1879
@manishgupt1879 9 ай бұрын
updated , not working
@vijaykaloo128
@vijaykaloo128 Жыл бұрын
How to set appllication.properties username and password from spring security login form
@AnubhabKundu
@AnubhabKundu 2 ай бұрын
spring.security.username= spring.security.password=
@nikhilsinghraghav6956
@nikhilsinghraghav6956 6 ай бұрын
how to get username and password from database can anyone please tell me ?
@AnubhabKundu
@AnubhabKundu 2 ай бұрын
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 😊
@-thepighunter2819
@-thepighunter2819 Жыл бұрын
Mujhe apka paid course kharidna hai please help
@AjinkyaY
@AjinkyaY Жыл бұрын
please add spring 3.0 in examportal #13
@sekharjamallamudi9531
@sekharjamallamudi9531 11 ай бұрын
hii sir please say english tutorils
@bhupenderkumawat
@bhupenderkumawat 9 ай бұрын
Is there any example of a custom login page?
@Vithal_Nivargi
@Vithal_Nivargi Жыл бұрын
🙏
@nishantvyas5098
@nishantvyas5098 Жыл бұрын
Java script, jquerry Or kuch mat lagaye please
@chetansharma3358
@chetansharma3358 Жыл бұрын
javascript disable kardi to
@a.m.jyotiprakashsahu5754
@a.m.jyotiprakashsahu5754 Жыл бұрын
sir, please make a video on oAuth in spring boot 3.0.
@ankursaxena.melodies
@ankursaxena.melodies 2 ай бұрын
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
🔥 Spring Boot With Multiple Databases in Hindi
50:32
Learn Code With Durgesh
Рет қаралды 30 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
Spring Security in one video | Spring Security Crash Course | HINDI
2:34:55
Learn Code With Durgesh
Рет қаралды 262 М.
Spring Security 6 Tutorial
1:55:09
Telusko
Рет қаралды 10 М.
🚀 Know Internals of Spring Security | How Spring Works [Hindi]
17:12
Learn Code With Durgesh
Рет қаралды 18 М.
Complete Spring Security with JWT Authentication | Spring Security 6 | Securing Spring Boot
3:45:03
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН