14:30 - Important Points 39:00 - Spring Security 43:28 - Spring Security Working Flow: 49:37 - Understanding the working flow in IDE 55:41 - Working of PostMan 57:26 - Basic Authentication 1:05:16 - Creating our own user & login 1:13:00 - Password Encoder 1:25:59 - Role based Authentication 1:36:00 - Understanding about @PreAuthorize (method level security) 1:38:00 - CSRF 1:47:55 - Form based Authentication 2:09:45 - Working with Real Database
Most of the classes are deprecated. can you please re-upload spring security module with latest version of spring boot.
@varshassawlani632 жыл бұрын
aap farishte ho bhagwan ke. amazing tutorial. Grateful I found you on youtube. we need more educators like you.
@vikramvaishnav22 Жыл бұрын
Please try to complete this timestamp. Time Stamp: Spring Security Working Flow: 43:28 Types of Authentication- 1. Basic Authentication: 55:00 Basic Authentication - Ant Matcher: 01:18:40 Basic Authentication - Role Based Authentication: 01:26:30 Basic Authentication - CSRF: 01:37:50 2. Form Based Authentication: 01:47:30
@jiteshsingh983 жыл бұрын
Microservices & Spring Framework Ke Sabhi Components Pe Full Course Banaiye Plz
@DeepakGupta-pz4fx3 жыл бұрын
Great sir outstanding 👏only aap hi ek jo students ki dil ki baat sunte ho😍😍
@ashwins1936 Жыл бұрын
When i first started with spring boot ,i didn't understand anything in this video. But after 1 month when i watch this video again now i understood everything. Every possible errors and how you handle it which helped me a lot No one explains like you. But for beginners this video might not make any sense. But once they understand basics this is must watch video 🎉
@OPM_TRE4.09 ай бұрын
bro can you tell me how can i be good at backend with spring boot as beginer
@ankithsaireddy93998 ай бұрын
This is So Next Level In-depth, I just love the way you explained such a Difficult conccept
@pratikgaikwad6882 жыл бұрын
Spring security module starts at 39:00
@AVillager53 жыл бұрын
Dil jeet liya Sir.....Thanks for Quality Teaching
@aakashzinzurao50297 ай бұрын
Thank you sir! I read books and tutorials but, I didn't got how internally it works and how we can use. You r really great.
@yashasati90607 ай бұрын
My Go-to content on KZbin for Spring! Amazing
@dharmendragorana51233 жыл бұрын
Waiting Ended Here🔥🔥🔥🔥🔥Thanks Guruji..
@AshishSingh-sc5bu3 жыл бұрын
Sir, I have seen all of your videos and I can clearly say that I had learnt a lot from your videos. Sir please make one video on login, based on roles by fetching data from database. I had searched all over the internet but none of the video helped me out. If u got time then sir please make video on this using spring boot(Web Application). Thank you for the videos-tutorials that u had already made so far
@kanahaiyalal32782 жыл бұрын
Sorry javainuse website
@amitkumar72212 жыл бұрын
Bhai this guy is superb, you are genius bro may God give you whatever you want 🌹🌹🌹
@shwetabhat99813 жыл бұрын
Much awaited and amazing content sir . Thank You 🙂 . Kindly post Microservices tutorial next if possible as it's one of the "Must haves" today .
@haseebraza1996 Жыл бұрын
durgaish literally saving me from getting kicked from my job
@nileshpawar47353 жыл бұрын
Durgesh sir , Thank you so much for this wonderful video...pls bring next 2nd part of microservices 🙏
@BharatKumar-oo1pw3 жыл бұрын
Please upload second part of microservices video
@bhupendra_dubey1252 жыл бұрын
hi Durgesh,,its amnazing vdo in hindi..many indians tach need that ...i also cleared my doubt for interviews....keep rocking...if you have this kind paid workshop for others like giuthub , data structure etc i ll try to join..thanks again..
@pramodp43213 жыл бұрын
Followed the exact steps...worked for me 💯
@subhosen49332 жыл бұрын
Spring Security Explained in short and crisp way. Great Content Durgesh Bhaiya. You have covered all the basic things on Spring Security. Loved your Content
@sourabhfulmali39233 жыл бұрын
Junit Testing ke upar aur debugging ke videos banao sir.. 👍👍this video very useful
@Byte_The_Universe9 ай бұрын
I had one minor issue (403 forbidden error) because of privileges (USER,ADMIN). The mistake that I had done was not added the "ROLE" prefix before the roles like (USER,ADMIN). Use the roles be like (ROLE_USER,ROLE_ADMIN). Thank you durgesh for this video.
@laljirathod17492 жыл бұрын
Very very good sir , i seen lot of video but i didn't get this much of clearity..
@Dr-Doggo3 жыл бұрын
This was exactly I was waiting for. Next Microservices please.
@jayantkatiyar91283 жыл бұрын
He already did microservices
@Dr-Doggo3 жыл бұрын
@@jayantkatiyar9128 It was just introduction, he told he would bring another video if video completes 1k likes
@saurabhkawatra89383 жыл бұрын
Sir! Apna diet bata do, itna patience kaha se... You are Amazing 😁😁😁😁
@Deepak45871 Жыл бұрын
Extremely useful video, please share the link for debugging if you have already created a video, and if not then please create a video on debugging
@prateekgirilateralentry5865 Жыл бұрын
Thank you for your amazing Spring Security tutorials 😃. Your clear explanations and dedication have been a game-changer for my understanding of this complex subject. I appreciate your generosity in sharing your knowledge with the world.
@HandleAdded13 жыл бұрын
durgesh bhai debugging pe ek crash course video banadena bahut helpful hoga❤️❤️❤️❤️love ur videos
@amolpatil21408 ай бұрын
Thank you so much Durgesh sir....🙏🙏🙏
@saritaprasad42952 жыл бұрын
you are owsome sir! you are taking care the poor students like me
@sonitrajput7590 Жыл бұрын
in spring 3.1WebSecurityConfigurerAdapter has been deprecated what to do?
@ravindarsahani9766 Жыл бұрын
59:51 websecurityconfigureradapter is not importing because it has deprecated so instead of this what I use ?
@sreetmi1918 Жыл бұрын
Use this class instead package com.practice.security.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.core.userdetails.User; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.provisioning.InMemoryUserDetailsManager; import org.springframework.security.web.SecurityFilterChain; import static org.springframework.security.config.Customizer.withDefaults; @Configuration @EnableWebSecurity public class MySecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .authorizeHttpRequests((authz) -> authz // .antMatchers("/home", "/login", "/register").permitAll() .antMatchers("/public/*").permitAll() .anyRequest().authenticated() ) .httpBasic(withDefaults()); return http.build(); } @Bean public InMemoryUserDetailsManager userDetailsService() { UserDetails user = User.builder() .username("user") .password(this.passwordEncoder().encode("password")) .roles("USER") .build(); UserDetails admin = User.builder() .username("admin") .password(this.passwordEncoder().encode("password")) .roles("USER", "ADMIN") .build(); return new InMemoryUserDetailsManager(user, admin); } @Bean public PasswordEncoder passwordEncoder() { return new BCryptPasswordEncoder(10); } }
@harishks.kumar.78864 ай бұрын
Have you got the answer?
@zuberdiwan81232 жыл бұрын
Thank you so much for this wonderful video....Very Well Explain..Thank You.......👌👌👌
@shyammali3461 Жыл бұрын
Thank you for your amazing Spring Security tutorials ☺
@sachinpete45072 жыл бұрын
Now I got understanding how spring security works thank a lot 🙏
@niharikajaiswal52152 жыл бұрын
one of the best.❤🔥
@DineshKumar-l9f4p Жыл бұрын
Nice tutorial and simple to understand.
@saurabhsinghchauhan521911 ай бұрын
crystal clear explaination :)
@AnantPratapSingh-s7d Жыл бұрын
yes sir I want to go deep in debugging
@a.m.jyotiprakashsahu57542 жыл бұрын
WebSecurityConfigurerAdapter is deprecated now on spring security version 5.7. Please make a video on latest version.
@rahullambe28582 жыл бұрын
Sir thank you ❤️🙏🤝 your teaching very helpful
@GauravSingh-bu9xt3 жыл бұрын
sir,I saw your video on spring boot and reactJS that is a good video. I want to learn about spring boot with react JS project with login authentication
@dipakkadam23163 жыл бұрын
Woooooo, long awaited for this course. Thanks Durgesh sir.
@aneksingh4496 Жыл бұрын
very clearly ,crispy and point to point explanation ...great work ...please keep it up
@jayaprakashrao9006 Жыл бұрын
Is the websecurityconfigureradapter is resolved for you???
@pradeepsiota87769 ай бұрын
@@jayaprakashrao9006 i am also geting this issue
@yashlokhande28902 жыл бұрын
Amazing!the way you explain.
@mujahedshaikh52123 жыл бұрын
Thanks Durgesh.. Waiting ended here🙏
@koushikpan1320 Жыл бұрын
I am Watching your video late. You asked if we need videos on debugging. If not made already please do that.
@mohammedadil32812 жыл бұрын
Amazinggg Content on spring security
@manavsharmaer2 жыл бұрын
Please provide the contents that would be covered in every video in the description. Someone might only need to learn some particular concept. Thanks
@suyashjaiswal48073 жыл бұрын
Superb explanation sir Please make a series on security topics, jaise ye h waise bhi for oauth2, jwt
@-hLokeshАй бұрын
make a video on debugging angular ,react application as well
@vishalkale82942 жыл бұрын
Excellent explanation, Thank you sir .
@komaljirage67943 жыл бұрын
Really thank you sir and very helpful video much awaiting.
@I_am_nus2 жыл бұрын
2:31:38, We are not able to access because we have used hasRole. When using database use hasAuthority instead and it will work without appending Role_ explicitly in DB.
@AdityaKumar-ym3fy2 жыл бұрын
Bro, apart from this tutorial what other tutorial should I watch to get complete knowledge of Spring Security. Tell me about videos from Learn Code with Durgesh channel only.
@proxy50612 жыл бұрын
bro which IDE , your are working in!! durgeesh sir uising inteliJ community am also using the same but Community version wont support MVC! how you guys did?? MVC forms and all
@ankitratnani24393 жыл бұрын
please make video on spring boot Actuator
@RideTechTravelChronicles Жыл бұрын
Hi , I am a big fan of you , Please can you tell us about debugging the fully fledged web application, how a certain element of web page call certain api , how the request flows, Its very important for us to understand the api call.
@gauravrathaur7265 Жыл бұрын
wow sir... awesome tutorial
@dhanshribhavsar6753 Жыл бұрын
Please make debugging related vedio as well. Thanks!
@jiteshsingh983 жыл бұрын
Always Amazing🎉🎉🔥
@yogeshkalalkar22623 жыл бұрын
briliant work sir
@PANKAJKUMAR-hz8nh Жыл бұрын
Very useful and clear content
@manindersingh63712 жыл бұрын
Thank you so much for this wonderful video
@anweshabhisek7549 Жыл бұрын
Yes sir please make videos in how to debug , and sir please make the debugging videos in sts
@purooshottampareta61233 жыл бұрын
Thanks we will support you sir
@preetijadhav25506 ай бұрын
Thanks for this video. I really appreciate your efforts. So I am trying to implement the same project but I am unable to extend the WebSecurityConfigurerAdapter class so which class I should use ??
@ShikshaJain-f9v6 ай бұрын
Facing same issue
@preetijadhav25506 ай бұрын
@@ShikshaJain-f9v WebSecurityConfigurerAdapter is deprecated from spring security in 5.7 version you can try SecurityFilterChain instead of that
@preetijadhav25506 ай бұрын
@@ShikshaJain-f9v yes WebSecurityConfigurerAdapter is deprecated from spring security 5.7 version you can use SecurityFilterChain instead of that
@khan04043 жыл бұрын
Shandar explained
@chekrasena3 жыл бұрын
Make a video on Java Roadmap(spring microservices react) . how to start java with ur playlist and finish roadmap
@s.m.h273811 ай бұрын
Sir please make video on debugger, how efficiently we can use debugger,I am a fresher and I badly stuck in debugging my project
@Aristh12342 жыл бұрын
Very nice..thanks a lot for your hard work 👏 💪
@rupeshpatil52792 жыл бұрын
Thanks a lot brother.. This video helped me to brush-up the concepts and learned new things as well. Thanks again
@chandanpatel65283 жыл бұрын
Please do some videos on debugging
@saundaryasrivastava86383 жыл бұрын
well done sir .. you are truly doing great job. thanks alot
@areebafatima74362 жыл бұрын
Thanks for the tutorial. Really really good content.
@MOHITSINGH-cv5qe3 жыл бұрын
Very very very thank you sir for this video , seriously thanks a lot 🙏🙏🙏🙏🙏
@prashantsinghrajput97092 жыл бұрын
Please come up with full course of spring security Please
@mallikarjunhagargi78303 жыл бұрын
Bro, no single dislike, that proves your quality of content 👌
@Shaileshks11113 жыл бұрын
Thanks for uploading spring security
@SagarPatil-xi7zd Жыл бұрын
amazing video. Thank you
@rocklee75742 жыл бұрын
the classes you are using is depricated....
@AvinashKumar-mh6si5 ай бұрын
Yaa, this may not be applicable 100%, bit concept would be same. Can't we use old Spring Boot ?
@sandeepprabhakula7714 Жыл бұрын
Hello sir. Firstly, it's a great tutorial beginners can easily learn spring security. Secondly, I'm working on my project where I'm facing an issue that "user are able to access the data of other users". In simple words no user should have the authority to read or manipulate data of other users except theirs. There's no scope of admin and user-based authorization. because there's no such content that users should not see. Every user has their own data, and it should not be visible to others except the current authorized user. Please suggest me how to do customized authorization on each user. Thanks in advance!
@kalyan7623 жыл бұрын
awesome thanks a lot♥️♥️
@siddheshkadam34982 жыл бұрын
2:26:55 I have added two auth.userDetailsService() in configure method as I have two tables for admin and normal user in my database. Will that work?
@karthikeyanchidambaram6560 Жыл бұрын
Super video. Highly recommendable. (But remember our Indian made videos are becoming world famous i heard. So next time prepare videos in English or with English subtitles if you are narrating i Hindi.) Very very nice video. Hats off !
@jahangirkalwar37592 жыл бұрын
nice tutorial sir, but please upload a series on microservices with spring boot.
@chiragdas608510 ай бұрын
Very helpful content
@mdsaddamkhan84003 жыл бұрын
Meri man ki murad puri ho gyi
@AkshaySharma-wy6lv3 жыл бұрын
Awesome video 🙏🙏 thanks
@prashantsinghrajput97092 жыл бұрын
You are great sir
@KrishnaKumar-om5hv Жыл бұрын
Hi, at 2:17:53, how do you updated below users all at once?
@sheikhmohduzair28862 жыл бұрын
debugging ke kuch hacks aur important point pe video banao intellij me.
@PrinceKumar-xn4dy3 жыл бұрын
Thank you so much sir for this content i was waiting this for long time.
@anuragmall79243 жыл бұрын
Durgesh Bhai please do one video on debugging
@khemchandkolhe33 жыл бұрын
really awesome content t sir thank u
@yashgupta-dw7sn3 жыл бұрын
the video starts at 40:00. Thank me later
@svworld013 жыл бұрын
Thank you ,😇
@AliRaza-us3tu2 жыл бұрын
make a video for new implementation for oauth2 in spring boot Thanks
@AbhishekSingh-dq3em7 ай бұрын
I am not getting the import for WebSecurityConfigurerAdapter
@karthikeyanchidambaram6560 Жыл бұрын
How do you customize the basic and form authentication screen using your own css an labels ?
@iplbettingdream11expert7711 ай бұрын
Sir without websecurityAdabter ka carsh course ka video banaye