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.
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.
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
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
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
@entity annotation is now available under jakarta , javax package is not available with spring boot starter data jpa, how to get javax persistance package
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
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
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?
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
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.
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?
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
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 😊
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
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.
Bhai contact manager mai spring security add ki hai kya version 3+
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
this method is also deprecated is this is work for you.?
Great video! It's awesome to see the new way to configure security in Spring Boot 3.0. Thanks for sharing!
Great video Bhai. And very much relevant to SpringBoot 3. Hatsoff for your efforts!
Bhut dino se wait tha is video ka
your videos really motivate us..!
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.
Thank you sir! Very very thank you for such informative video!❤❤
awesome explanation, really its very good and helpful video💯
This video helps me a lot to develop spring security in new spring boot version. Thanks @Durgesh Sir.
Superb sir....earlier I used to refer you by saying Durgesh... but now automatically says refer to Durgesh SIR...
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
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
Yes i am following spring boot toturial and I am getting same problem thank you
it was helpful video. thanks for helping me understanding this new addition in security
thanks bhai....mai mera project naye se banana wala that....this helped a lot
Thank you so much sir, bring next Episode of it
Ho gya aapka .koi error nhi aaya..?
very good example, thank you very much
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 .
can we use okta for user authentication?
Kindly make a video for SB3, Spring Security and Okta
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.
Just Awesome. Very Simplified. I saw multiple videos but this is the one which gets all your basics cleared. Thanks Durgesh & Keep it up !!
same bro
fantastic approach and explanation
sir video a lot help me thank you so much sir
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
Thank you so much. Please bring next part of it.
@entity annotation is now available under jakarta , javax package is not available with spring boot starter data jpa, how to get javax persistance package
it is available in old version , you can access it in old version, in new version it is available under jakarta..
Just change the package path to jakarta.persistance.*
Very Helpful video
Can you please make video on JDK 11 Features?
Sir I am not able to find the video you talked about at 13:52 . Please help!
Very thanks Sir
Please make video to develop custom widget and use any independent platform in Angular 🎉🎉🎉
great video brother
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
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
Hey I am facing the same..did u solved it??
Deepika were you able to find the solution ?
@@TejasChaudhari22 I am also facing the same . Were you able to find root cause for this?
@@ambujtripathi3935 hey yes i found it.....
Got the solution?
Please make a video, How we can assign multiple roles and multiple granted authorities (permissions)
Please make a video for spring security with websockets
Very informative
Can you please provide the updated SecurityFilter code for Spring 3.2? `and`, `csrf` etc are all deprecated in 3.2.0.
use csrf(csrf->csrf.disable()) instead of csrf().disable()
Thankyou so much bhaiya
I have a doubt. Admin can access normal users but normal users cannot access admin. Is it correct?
I am getting no AuthenticationProvider found error
Sir please have a look at this issue, I am using Inmemory authentication same as in video.
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?
Thanks for this ☺️
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
i got error for give program logic in userdetails errors message i got
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.
Sir kindly is video k next part main custom user detail service aur jwt ka use sikha dain.
Authentication manager is not recognised in my spring boot application 3.0
thank you, sir
Will the same code work if the client used is Postman
sir, please make a video on oAuth in spring boot 3.0.
Hello sir. I am using oauth2 and I want /register as unauthenticated. I follow you. But it says unauthorised access.
Please make a video with jwt for new version
!!!! Please make a Vedio on rest API for sending Email using Microsoft Graph in SpringBoot. !!!!
method 'POST' is not supported] status=405 in login form
for post i am getting 401 unauthorised
@ 16:07 how ......
this is also depricated like csrf,authorizehttpreq,and
What you is also depricated bro
Make a video on security 6.1+ 🥲🥲 new changes again
Is it compatible with Java 8 and spring boot 2.7 ?
Sir ek simple sa spring boot payment gateway integration with jsp jpa mysql data base from java bana dijye please
🙏🙏 Thanks
How to get logged in users information in spring boot 3 security??
thank you
Sir please upload JWT token with
Add configuration of RoleHierarchy in Spring security 3
Please make videos on kafka
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?
facing the same issue
did u get how to do?
What special in premium course????
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"
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
Bhia yrr code de do free me smag me nahi aa raha
Sir, please provide the code. You gave a link to your site, but the code is not available there. Please provide code also
sir i waste too much time please place these video at top of this playlist not at end
How to set appllication.properties username and password from spring security login form
spring.security.username=
spring.security.password=
Sir please apply new security for all the projects u have done i am suffering to do this please
Whenever i follow sir video i am not getting package option kindly someone explain
Which package
@@LearnCodeWithDurgesh sorry sir got I was talking for modules Sir, it was my mistake due to that this thing was happening
Which IDE fo you use?
Sir why u hidden core Java videos.
Will upload soon, planing for new core java series
@@LearnCodeWithDurgesh If that's the reason then I take my word back Sir and thanks for knowledge.
sir apki videos me audio bahut low rhta he bina earphones ke sunne me problem aati h
from where i can get source code please help
🎉
how to get username and password from database can anyone please
tell me
?
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 😊
Bro i am unable to get source code
please add spring 3.0 in examportal #13
updated , not working
hii sir please say english tutorils
Mujhe apka paid course kharidna hai please help
🙏
Is there any example of a custom login page?
Java script, jquerry Or kuch mat lagaye please
javascript disable kardi to
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