Thank you so much sir ❤️ will be really happy if you give demonstration with this implementation of Authorization along with jwt. This video itself is so informative and one of the best in RUclips. 😊❤️
Thank you very much. This is my second video that I watched in Java Techie. This is the way I wanted. I have only one problem, why did we use update query for set first ROLE_ADMIN ? We cannot do that in a real time application.
Thanks for the video. If explanation of annotations used for role based access used in controller class would have been provided.. it would have been great. Though overall I was able to understand.
Basant real time noone uses Facebook. Is there any realtime like DB or LDAP since users could be internal and external that you can use for better reference. For every user the roles will be different.
Could you please check my spring security internal flow video. There I explained you from scratch with debug . How the flow works , where it start and how it processed
Sir I what to do when we have different roles in the same controller class and we don't want to use method level annotation as I am working with a huge codebase and we can't add method level role based authentication in each method and neither we can restrict the URI of the class to one role in the spring config file because in the same class we have the different roles, how to do it?
Hello JavaTechie and thank you for the videos. How can we add firstName and lastName to the USER entity/table? The USER entity will not extend Auditable either. Why are we unable to modify the USER entity/table?
Hi Thanks for your videos on Spring Boot, getting lot of things to learn. I need your guidance how to implement Authorization in JSP spring boot app. Login Authentication is done by third party API will be forwarded to my Spring Boot web app. I will be having roles in session. How to implement Authrization in jsp using Spring Security tag libs.
Hi Sir, I have done everything as per video. Even I have imported code from mentioned git link still I am getting 401 Unauthorised in postman.can you help me to resolve?
Hi I want to create angular file for this, how to access other api's in angular, i watched your previous angular video of 27 min login is working but other crud operations are not working please help...
@@Javatechie could you please recommend me. Some. Tutorial or youtube video or website link related to this. Such that it would be more clear doing it.??
Sir, as we are passing only username as a subject while generating token as mentioned in your previous video, so, do we need to pass password and roles along with username? and in which data type: Single string seperated with coma, String array or HashMap?
did same as u did but mine is showing at getRoles(), setRoles(),getUserName() and every other method from user.method() and also post.methods() are also showing error in UserController.java and PostController.java and also in GroupUserDetails.java like "the method setStatus(PostStatus) is undefined for the type post" please reply cause I have project to submit sir...please
how to write below return statement in Java 7 as java 7 is not supporting lambda expression... return user.map(GroupUserDetails::new) .orElseThrow(() -> new UsernameNotFoundException(username + " Not Found"));
I admire your video's, thanks for teaching us freely, very few people do this.
one of the complete and best videos about spring security i have ever seen. as always you are outstanding
All your videos are superb sir. I cleared so many concepts from your videos. God bless you !!
One of the best video on spring-security. thank you
Thx for this it's much better than the other video. I was able to successfully complete it.
watching this at 3 in night & still not sleepy! Nice video :)
Thanks Nilesh , hope you got the clarity 🙂
@@Javatechie Yes, it was great! Can you integrate a JWT into this project? It would be a complete project then on spring-security!
Okay after part 2 video I will integrate with jwt
@@Javatechie thank you ❤️
You are making really requirement video thanks dude keep it up
Bhai ne sari spring boot ki videos upload ki h!!
nice, I was waiting for this topic. keep it up .
super nice, well explained in detail information..!
excellent tutorial bro .... Thank You
Pls Share part 2 for this...
Thank this very useful ...
Thank you so much sir ❤️ will be really happy if you give demonstration with this implementation of Authorization along with jwt.
This video itself is so informative and one of the best in RUclips.
😊❤️
This is nice video i am getting clear concept.
tutorial was very helpful, thank you
Thank you bro, for valuable information.
Thank Yoou apne toh meri izzat bacha li
please make this project with separate user and role table.
Thanks for this awesome concept
waiting for your pending post Topic, thank you
Which one can you mention please
Thank you very much. This is my second video that I watched in Java Techie. This is the way I wanted. I have only one problem, why did we use update query for set first ROLE_ADMIN ? We cannot do that in a real time application.
Yes we shouldn't use that in realtime . For demo purpose I did this
Started watching 😊
Thank you, great explanation
Ur videos 🤣😂💕 amazing
Excellent Tutorial..
great content as usual
U r the legend sir💥
Thanks buddy
Role based authorization using mongodb pls make a video sir using privileges permissions and roles
Thanks for the video. If explanation of annotations used for role based access used in controller class would have been provided.. it would have been great.
Though overall I was able to understand.
hello sir, please make how to do social logins with aws cognito and spring boot when you get time
thank you
Okay I will do this .but am not sure again whether my AWS account is active or not .I will check this
@@Javatechie ok sir
Basant real time noone uses Facebook. Is there any realtime like DB or LDAP since users could be internal and external that you can use for better reference.
For every user the roles will be different.
Sir ek bar spring security from basic bataiye ki kahan se start hota h program me jab request ati h
Could you please check my spring security internal flow video.
There I explained you from scratch with debug .
How the flow works , where it start and how it processed
Sir I what to do when we have different roles in the same controller class and we don't want to use method level annotation as I am working with a huge codebase and we can't add method level role based authentication in each method and neither we can restrict the URI of the class to one role in the spring config file because in the same class we have the different roles, how to do it?
Hello JavaTechie and thank you for the videos. How can we add firstName and lastName to the USER entity/table? The USER entity will not extend Auditable either. Why are we unable to modify the USER entity/table?
You can add N number of fields there is no restriction as such
When will be your next tutorial about pending post features sir?
This weekend most probably tomorrow you will see it .😊
I am waiting 😁 Thank you so much sir
I will publish it soon 😊
I have done everything accordingly the video but why mine is not working on postman but its not even showing error while running????????????????
Please checkout my source code and compare
Hi Thanks for your videos on Spring Boot, getting lot of things to learn. I need your guidance how to implement Authorization in JSP spring boot app. Login Authentication is done by third party API will be forwarded to my Spring Boot web app. I will be having roles in session. How to implement Authrization in jsp using Spring Security tag libs.
sir can you make video on java8 strams,lambda expressions and functional interfaces
Already uploaded please checkout my java 8 playlist
Hi Sir,
I have done everything as per video. Even I have imported code from mentioned git link still I am getting 401 Unauthorised in postman.can you help me to resolve?
Can you share your GitHub
why the /user/join is not working of mine i have done everything as same as you have done
?
What error you are getting
Nice But table Id is not generated so you have to add @EnableJpaRepositories
is the table is created previously?
Or, it is autogenerated table?
I created it manually
@@Javatechie authentication failed due to which there is no way to check authorization.
hie i have been following the tutorial, i'm having a 401 error with postman though...any leads
Please follow same as I did in my security config class
How to do this using jwt, I have saw your that video and had implemented that. Can you please show this using jwt.
thank you sir
Hi, is there a tutorial that you give this backend a front end of react js?
No buddy
Good concept
Hi I want to create angular file for this, how to access other api's in angular, i watched your previous angular video of 27 min login is working but other crud operations are not working please help...
For every request you need to perform authentication from frontend
@@Javatechie could you please recommend me. Some. Tutorial or youtube video or website link related to this. Such that it would be more clear doing it.??
I will check and update
@@Javatechie yes please and thank you
thnx buddy for this
Was previous tutorial wrong for spring security?
No it's not wrong but there is some error in code that's why I remake it with realtime scenario .
@@Javatechie But I did not face any error. That's why I was curious to know that.
Ohh okay , but I got the error then I changed configuration and it works for me
Thanks bro
Super
great video
Instead of hasAuthority can we configure this from DB ?
No you can't make that dynamic
Hi
can we use properties file insted of database for authorization?
Yes we can but it's not safe
Hi sir, a very nice and detailed tutorial.
Can you please a detailed tutorial on how to manage role based authorization along with JWT implementation.
Already I covered jwt tutorial , in jwtUtils just change "add username, password and roles as part of token " while generating it .
@@Javatechie that's perfect sir. I really appreciate.
Sir, as we are passing only username as a subject while generating token as mentioned in your previous video, so, do we need to pass password and roles along with username?
and in which data type: Single string seperated with coma, String array or HashMap?
I will share the poc on this
@@Javatechie Any updates on sharing POC on this topic?
did same as u did but mine is showing at getRoles(), setRoles(),getUserName() and every other method from user.method() and also post.methods() are also showing error in UserController.java and PostController.java and also in GroupUserDetails.java like "the method setStatus(PostStatus) is undefined for the type post" please reply cause I have project to submit sir...please
Please configure Lombok in your IDE that will resolve your issue
Can we use second table for ROLE?
WebSecurityConfigureAdapter is removed now, make another video
Please check This ruclips.net/video/R76S0tfv36w/видео.html
But your block list is bigger than friend list on Facebook bro 😊🎉😂
could you please activate subtile
I will
how to write below return statement in Java 7 as java 7 is not supporting lambda expression... return user.map(GroupUserDetails::new)
.orElseThrow(() -> new UsernameNotFoundException(username + " Not Found"));
Manually you need to build Group Userdetails object by giving user object getter /setter
could you add subtitle for this video, , many thanks ?
or something like that
You are dictating what you are typing instead of explaining. Not the best way to teach for sure