Spring Boot Security | Role Base Authorization | Facebook group Management -Example | JavaTechie

Ғылым және технология

This tutorial will guide you how to implement Spring security Role base authentication and authorization with one realtime
( Facebook Group managementscenario
#javatechie #Security #SpringBoot
GitHub:
github.com/Java-Techie-jt/spr...
Blogs:
/ javatechie
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account

Пікірлер: 108

  • @rajach5225
    @rajach52253 жыл бұрын

    I admire your video's, thanks for teaching us freely, very few people do this.

  • @rakibulhasan1923
    @rakibulhasan19233 жыл бұрын

    one of the complete and best videos about spring security i have ever seen. as always you are outstanding

  • @harshvyas5048
    @harshvyas50483 жыл бұрын

    All your videos are superb sir. I cleared so many concepts from your videos. God bless you !!

  • @YogeshVerma-iq4xz
    @YogeshVerma-iq4xz Жыл бұрын

    One of the best video on spring-security. thank you

  • @selvapandymoorthy4173
    @selvapandymoorthy41733 жыл бұрын

    Started watching 😊

  • @79EasyE
    @79EasyE3 жыл бұрын

    Thx for this it's much better than the other video. I was able to successfully complete it.

  • @kumar-lz6fm
    @kumar-lz6fm3 жыл бұрын

    nice, I was waiting for this topic. keep it up .

  • @MitShow
    @MitShow3 жыл бұрын

    You are making really requirement video thanks dude keep it up

  • @pratishrutipanda6461
    @pratishrutipanda64613 жыл бұрын

    Thanks for this awesome concept

  • @Jayantch.999
    @Jayantch.9993 жыл бұрын

    super nice, well explained in detail information..!

  • @revanthkariappa52
    @revanthkariappa52 Жыл бұрын

    excellent tutorial bro .... Thank You

  • @dheerajkumar-bp8zr
    @dheerajkumar-bp8zr3 жыл бұрын

    This is nice video i am getting clear concept.

  • @nileshmishra3192
    @nileshmishra31923 жыл бұрын

    watching this at 3 in night & still not sleepy! Nice video :)

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Thanks Nilesh , hope you got the clarity 🙂

  • @nileshmishra3192

    @nileshmishra3192

    3 жыл бұрын

    @@Javatechie Yes, it was great! Can you integrate a JWT into this project? It would be a complete project then on spring-security!

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Okay after part 2 video I will integrate with jwt

  • @nileshmishra3192

    @nileshmishra3192

    3 жыл бұрын

    @@Javatechie thank you ❤️

  • @tanayakarmakar2407
    @tanayakarmakar24074 ай бұрын

    great content as usual

  • @johncerpa3782
    @johncerpa37823 жыл бұрын

    Thank you, great explanation

  • @AbiramiMurugan
    @AbiramiMurugan3 ай бұрын

    Excellent Tutorial..

  • @Balamadhu2022
    @Balamadhu20223 жыл бұрын

    Pls Share part 2 for this... Thank this very useful ...

  • @simasethi6538
    @simasethi65383 жыл бұрын

    Good concept

  • @user-hs4ww4xu8o
    @user-hs4ww4xu8o Жыл бұрын

    tutorial was very helpful, thank you

  • @mukkamalapavankumar2652
    @mukkamalapavankumar26523 жыл бұрын

    Ur videos 🤣😂💕 amazing

  • @sudhakarreddy1860
    @sudhakarreddy18602 жыл бұрын

    Thank you bro, for valuable information.

  • @tranvantai2437
    @tranvantai24373 жыл бұрын

    great video

  • @ravindran5015
    @ravindran50153 жыл бұрын

    Super

  • @sumantmishra3207
    @sumantmishra3207 Жыл бұрын

    Thank Yoou apne toh meri izzat bacha li

  • @sudhirkumar-tw7qx
    @sudhirkumar-tw7qx3 жыл бұрын

    please make this project with separate user and role table.

  • @gundasreedhar327
    @gundasreedhar3272 жыл бұрын

    U r the legend sir💥

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Thanks buddy

  • @gauravvishwakarma7772
    @gauravvishwakarma77723 жыл бұрын

    thank you sir

  • @TheGurukrushna
    @TheGurukrushna3 жыл бұрын

    thnx buddy for this

  • @karthikreddygoli6782
    @karthikreddygoli67823 жыл бұрын

    waiting for your pending post Topic, thank you

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Which one can you mention please

  • @arnabroy2995
    @arnabroy29952 жыл бұрын

    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 KZread. 😊❤️

  • @ahishnar1568
    @ahishnar15682 жыл бұрын

    Thanks bro

  • @saurabhsuman4960
    @saurabhsuman49603 жыл бұрын

    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.

  • @anilanjunawijesinghe7337
    @anilanjunawijesinghe73372 жыл бұрын

    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.

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Yes we shouldn't use that in realtime . For demo purpose I did this

  • @ashishkumarsrivastav9106
    @ashishkumarsrivastav91065 ай бұрын

    Bhai ne sari spring boot ki videos upload ki h!!

  • @desurajasekhar349
    @desurajasekhar3493 жыл бұрын

    Role based authorization using mongodb pls make a video sir using privileges permissions and roles

  • @rexsam3134
    @rexsam31342 жыл бұрын

    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.

  • @spnarayanrao
    @spnarayanrao3 жыл бұрын

    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.

  • @codingispassion6376
    @codingispassion6376Ай бұрын

    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?

  • @hockeyguy5336
    @hockeyguy53363 жыл бұрын

    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?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    You can add N number of fields there is no restriction as such

  • @rajkumarprasad9843
    @rajkumarprasad98433 жыл бұрын

    Nice But table Id is not generated so you have to add @EnableJpaRepositories

  • @hrushikeshmandekar6572
    @hrushikeshmandekar6572 Жыл бұрын

    How to do this using jwt, I have saw your that video and had implemented that. Can you please show this using jwt.

  • @ramanjaneyappan7964
    @ramanjaneyappan79643 жыл бұрын

    sir can you make video on java8 strams,lambda expressions and functional interfaces

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Already uploaded please checkout my java 8 playlist

  • @brylle5946
    @brylle59462 жыл бұрын

    Hi, is there a tutorial that you give this backend a front end of react js?

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    No buddy

  • @hardikbehl2792
    @hardikbehl27923 жыл бұрын

    hello sir, please make how to do social logins with aws cognito and spring boot when you get time thank you

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Okay I will do this .but am not sure again whether my AWS account is active or not .I will check this

  • @hardikbehl2792

    @hardikbehl2792

    3 жыл бұрын

    @@Javatechie ok sir

  • @pragyanshreedas23594
    @pragyanshreedas235943 жыл бұрын

    I have done everything accordingly the video but why mine is not working on postman but its not even showing error while running????????????????

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Please checkout my source code and compare

  • @pragyanshreedas23594
    @pragyanshreedas235943 жыл бұрын

    why the /user/join is not working of mine i have done everything as same as you have done ?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    What error you are getting

  • @ojasvidhuppepatil9611
    @ojasvidhuppepatil9611 Жыл бұрын

    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?

  • @Javatechie

    @Javatechie

    Жыл бұрын

    Can you share your GitHub

  • @tafadzwarhama
    @tafadzwarhama2 жыл бұрын

    hie i have been following the tutorial, i'm having a 401 error with postman though...any leads

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Please follow same as I did in my security config class

  • @sagarsaud156
    @sagarsaud1563 жыл бұрын

    Can we use second table for ROLE?

  • @pragyanshreedas23594
    @pragyanshreedas235943 жыл бұрын

    is the table is created previously? Or, it is autogenerated table?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    I created it manually

  • @pragyanshreedas23594

    @pragyanshreedas23594

    3 жыл бұрын

    @@Javatechie authentication failed due to which there is no way to check authorization.

  • @raghavgoel9577
    @raghavgoel95773 жыл бұрын

    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.

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Already I covered jwt tutorial , in jwtUtils just change "add username, password and roles as part of token " while generating it .

  • @raghavgoel9577

    @raghavgoel9577

    3 жыл бұрын

    @@Javatechie that's perfect sir. I really appreciate.

  • @raghavgoel9577

    @raghavgoel9577

    3 жыл бұрын

    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?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    I will share the poc on this

  • @raghavgoel9577

    @raghavgoel9577

    3 жыл бұрын

    @@Javatechie Any updates on sharing POC on this topic?

  • @siddhantthorat3269
    @siddhantthorat3269 Жыл бұрын

    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

    @Javatechie

    Жыл бұрын

    For every request you need to perform authentication from frontend

  • @siddhantthorat3269

    @siddhantthorat3269

    Жыл бұрын

    @@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.??

  • @Javatechie

    @Javatechie

    Жыл бұрын

    I will check and update

  • @siddhantthorat3269

    @siddhantthorat3269

    Жыл бұрын

    @@Javatechie yes please and thank you

  • @TheMksShow
    @TheMksShow3 жыл бұрын

    Sir ek bar spring security from basic bataiye ki kahan se start hota h program me jab request ati h

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    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

  • @technicalknowledge6447
    @technicalknowledge64473 жыл бұрын

    Instead of hasAuthority can we configure this from DB ?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    No you can't make that dynamic

  • @RN-jo8zt
    @RN-jo8zt2 жыл бұрын

    Hi can we use properties file insted of database for authorization?

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Yes we can but it's not safe

  • @tranvantai2437
    @tranvantai24373 жыл бұрын

    could you add subtitle for this video, , many thanks ?

  • @dsatzeesatty4940
    @dsatzeesatty49403 жыл бұрын

    When will be your next tutorial about pending post features sir?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    This weekend most probably tomorrow you will see it .😊

  • @dsatzeesatty4940

    @dsatzeesatty4940

    3 жыл бұрын

    I am waiting 😁 Thank you so much sir

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    I will publish it soon 😊

  • @deeplife9654
    @deeplife96546 ай бұрын

    But your block list is bigger than friend list on Facebook bro 😊🎉😂

  • @sunilsubedi7985
    @sunilsubedi7985 Жыл бұрын

    WebSecurityConfigureAdapter is removed now, make another video

  • @Javatechie

    @Javatechie

    Жыл бұрын

    Please check This kzread.info/dash/bejne/hGtqtZKtltmZZto.html

  • @ManojKumar-ut6ck
    @ManojKumar-ut6ck3 жыл бұрын

    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"));

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Manually you need to build Group Userdetails object by giving user object getter /setter

  • @ahmadfaraz3678
    @ahmadfaraz36783 жыл бұрын

    Was previous tutorial wrong for spring security?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    No it's not wrong but there is some error in code that's why I remake it with realtime scenario .

  • @ahmadfaraz3678

    @ahmadfaraz3678

    3 жыл бұрын

    @@Javatechie But I did not face any error. That's why I was curious to know that.

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Ohh okay , but I got the error then I changed configuration and it works for me

  • @ucgiangnguyen8009
    @ucgiangnguyen8009 Жыл бұрын

    could you please activate subtile

  • @Javatechie

    @Javatechie

    Жыл бұрын

    I will

  • @plreuokjhg
    @plreuokjhg2 жыл бұрын

    or something like that

  • @mohammedfarhanahmed1554
    @mohammedfarhanahmed15542 жыл бұрын

    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

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Please configure Lombok in your IDE that will resolve your issue

  • @dinobulja
    @dinobulja2 жыл бұрын

    You are dictating what you are typing instead of explaining. Not the best way to teach for sure

Келесі