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
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
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
@entity annotation is now available under jakarta , javax package is not available with spring boot starter data jpa, how to get javax persistance package
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?????????????????????????????????????
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?
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
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.
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
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 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?
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!
Thank you sir! Very very thank you for such informative video!❤❤
Great video Bhai. And very much relevant to SpringBoot 3. Hatsoff for your efforts!
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.
Superb sir....earlier I used to refer you by saying Durgesh... but now automatically says refer to Durgesh SIR...
This video helps me a lot to develop spring security in new spring boot version. Thanks @Durgesh Sir.
your videos really motivate us..!
awesome explanation, really its very good and helpful video💯
Bhut dino se wait tha is video ka
Yes i am following spring boot toturial and I am getting same problem thank you
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
it was helpful video. thanks for helping me understanding this new addition in security
very good example, thank you very much
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..?
Sir I am not able to find the video you talked about at 13:52 . Please help!
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
fantastic approach and explanation
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
Thank you so much. Please bring next part of it.
Very Helpful video
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
sir video a lot help me thank you so much sir
great video brother
@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.*
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?????????????????????????????????????
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?
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.
can we use okta for user authentication?
Kindly make a video for SB3, Spring Security and Okta
Very thanks Sir
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 .
Very informative
Thanks for this ☺️
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?
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
Please make video to develop custom widget and use any independent platform in Angular 🎉🎉🎉
Thankyou so much bhaiya
Hello sir. I am using oauth2 and I want /register as unauthenticated. I follow you. But it says unauthorised access.
i got error for give program logic in userdetails errors message i got
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()
I am getting no AuthenticationProvider found error
Sir please have a look at this issue, I am using Inmemory authentication same as in video.
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.
method 'POST' is not supported] status=405 in login form
for post i am getting 401 unauthorised
thank you, sir
I have a doubt. Admin can access normal users but normal users cannot access admin. Is it correct?
What you is also depricated bro
Will the same code work if the client used is Postman
Can you please make video on JDK 11 Features?
Is it compatible with Java 8 and spring boot 2.7 ?
Authentication manager is not recognised in my spring boot application 3.0
🙏🙏 Thanks
this is also depricated like csrf,authorizehttpreq,and
Please make a video for spring security with websockets
Sir, please provide the code. You gave a link to your site, but the code is not available there. Please provide code also
thank you
@ 16:07 how ......
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
Please make a video, How we can assign multiple roles and multiple granted authorities (permissions)
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 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?
Sir kindly is video k next part main custom user detail service aur jwt ka use sikha dain.
Make a video on security 6.1+ 🥲🥲 new changes again
Please make a video with jwt for new version
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, please make a video on oAuth in spring boot 3.0.
How to get logged in users information in spring boot 3 security??
What special in premium course????
!!!! Please make a Vedio on rest API for sending Email using Microsoft Graph in SpringBoot. !!!!
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 😊
Please make videos on kafka
How to set appllication.properties username and password from spring security login form
spring.security.username=
spring.security.password=
Sir please upload JWT token with
🎉
from where i can get source code please help
Sir ek simple sa spring boot payment gateway integration with jsp jpa mysql data base from java bana dijye please
Sir please apply new security for all the projects u have done i am suffering to do this please
Bro i am unable to get source code
sir i waste too much time please place these video at top of this playlist not at end
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.
Add configuration of RoleHierarchy in Spring security 3
updated , not working
sir apki videos me audio bahut low rhta he bina earphones ke sunne me problem aati h
🙏
please add spring 3.0 in examportal #13
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