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

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 108

  • @rajach5225
    @rajach5225 3 года назад +11

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

  • @rakibulhasan1923
    @rakibulhasan1923 3 года назад +5

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

  • @harshvyas5048
    @harshvyas5048 3 года назад +5

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

  • @YogeshVerma-iq4xz
    @YogeshVerma-iq4xz 2 года назад +2

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

  • @79EasyE
    @79EasyE 3 года назад +3

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

  • @nileshmishra3192
    @nileshmishra3192 3 года назад +4

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

    • @Javatechie
      @Javatechie  3 года назад +1

      Thanks Nilesh , hope you got the clarity 🙂

    • @nileshmishra3192
      @nileshmishra3192 3 года назад +1

      @@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 года назад +1

      Okay after part 2 video I will integrate with jwt

    • @nileshmishra3192
      @nileshmishra3192 3 года назад

      @@Javatechie thank you ❤️

  • @MitShow
    @MitShow 3 года назад +3

    You are making really requirement video thanks dude keep it up

  • @ashishkumarsrivastav9106
    @ashishkumarsrivastav9106 9 месяцев назад +2

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

  • @kumar-lz6fm
    @kumar-lz6fm 3 года назад +3

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

  • @Jayantch.999
    @Jayantch.999 3 года назад +3

    super nice, well explained in detail information..!

  • @revanthkariappa52
    @revanthkariappa52 2 года назад +2

    excellent tutorial bro .... Thank You

  • @Balamadhu2022
    @Balamadhu2022 3 года назад +2

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

  • @arnabroy2995
    @arnabroy2995 2 года назад +1

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

  • @dheerajkumar-bp8zr
    @dheerajkumar-bp8zr 3 года назад +1

    This is nice video i am getting clear concept.

  • @VibinVenu-z1r
    @VibinVenu-z1r Год назад +1

    tutorial was very helpful, thank you

  • @sudhakarreddy1860
    @sudhakarreddy1860 2 года назад +1

    Thank you bro, for valuable information.

  • @sumantmishra3207
    @sumantmishra3207 2 года назад +1

    Thank Yoou apne toh meri izzat bacha li

  • @sudhirkumar-tw7qx
    @sudhirkumar-tw7qx 3 года назад +7

    please make this project with separate user and role table.

  • @pratishrutipanda6461
    @pratishrutipanda6461 3 года назад +2

    Thanks for this awesome concept

  • @karthikreddygoli6782
    @karthikreddygoli6782 3 года назад +2

    waiting for your pending post Topic, thank you

    • @Javatechie
      @Javatechie  3 года назад

      Which one can you mention please

  • @anilanjunawijesinghe7337
    @anilanjunawijesinghe7337 3 года назад +1

    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  3 года назад

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

  • @ungalanbuselva
    @ungalanbuselva 3 года назад +3

    Started watching 😊

  • @johncerpa3782
    @johncerpa3782 3 года назад +2

    Thank you, great explanation

  • @mukkamalapavankumar2652
    @mukkamalapavankumar2652 3 года назад +2

    Ur videos 🤣😂💕 amazing

  • @AbiramiMurugan
    @AbiramiMurugan 7 месяцев назад

    Excellent Tutorial..

  • @tanayakarmakar2407
    @tanayakarmakar2407 8 месяцев назад +1

    great content as usual

  • @gundasreedhar327
    @gundasreedhar327 2 года назад +1

    U r the legend sir💥

  • @desurajasekhar349
    @desurajasekhar349 3 года назад +2

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

  • @saurabhsuman4960
    @saurabhsuman4960 3 года назад +1

    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.

  • @hardikbehl2792
    @hardikbehl2792 3 года назад +3

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

    • @Javatechie
      @Javatechie  3 года назад +1

      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

  • @rexsam3134
    @rexsam3134 2 года назад +1

    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.

  • @mohitshoww
    @mohitshoww 3 года назад +2

    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

  • @codingispassion6376
    @codingispassion6376 5 месяцев назад

    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
    @hockeyguy5336 3 года назад +1

    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 года назад +1

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

  • @dsatzeesatty4940
    @dsatzeesatty4940 3 года назад +1

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

    • @Javatechie
      @Javatechie  3 года назад +1

      This weekend most probably tomorrow you will see it .😊

    • @dsatzeesatty4940
      @dsatzeesatty4940 3 года назад +1

      I am waiting 😁 Thank you so much sir

    • @Javatechie
      @Javatechie  3 года назад

      I will publish it soon 😊

  • @pragyanshreedas23594
    @pragyanshreedas23594 3 года назад +1

    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 года назад +1

      Please checkout my source code and compare

  • @spnarayanrao
    @spnarayanrao 3 года назад

    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.

  • @ramanjaneyappan7964
    @ramanjaneyappan7964 3 года назад +1

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

    • @Javatechie
      @Javatechie  3 года назад

      Already uploaded please checkout my java 8 playlist

  • @ojasvidhuppepatil9611
    @ojasvidhuppepatil9611 Год назад +1

    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?

  • @pragyanshreedas23594
    @pragyanshreedas23594 3 года назад +1

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

    • @Javatechie
      @Javatechie  3 года назад +1

      What error you are getting

  • @rajkumarprasad9843
    @rajkumarprasad9843 3 года назад

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

  • @pragyanshreedas23594
    @pragyanshreedas23594 3 года назад +1

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

    • @Javatechie
      @Javatechie  3 года назад +1

      I created it manually

    • @pragyanshreedas23594
      @pragyanshreedas23594 3 года назад

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

  • @tafadzwarhama
    @tafadzwarhama 3 года назад +2

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

    • @Javatechie
      @Javatechie  3 года назад

      Please follow same as I did in my security config class

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

  • @gauravvishwakarma7772
    @gauravvishwakarma7772 3 года назад +1

    thank you sir

  • @brylle5946
    @brylle5946 3 года назад +1

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

  • @simasethi6538
    @simasethi6538 3 года назад +1

    Good concept

  • @siddhantthorat3269
    @siddhantthorat3269 Год назад +1

    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  Год назад +1

      For every request you need to perform authentication from frontend

    • @siddhantthorat3269
      @siddhantthorat3269 Год назад +1

      @@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  Год назад +1

      I will check and update

    • @siddhantthorat3269
      @siddhantthorat3269 Год назад +1

      @@Javatechie yes please and thank you

  • @TheGurukrushna
    @TheGurukrushna 3 года назад +1

    thnx buddy for this

  • @ahmadfaraz3678
    @ahmadfaraz3678 3 года назад +2

    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 года назад +1

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

  • @ahishnar1568
    @ahishnar1568 2 года назад +1

    Thanks bro

  • @ravindran5015
    @ravindran5015 3 года назад +1

    Super

  • @tranvantai2437
    @tranvantai2437 3 года назад +1

    great video

  • @technicalknowledge6447
    @technicalknowledge6447 3 года назад +1

    Instead of hasAuthority can we configure this from DB ?

    • @Javatechie
      @Javatechie  3 года назад

      No you can't make that dynamic

  • @RN-jo8zt
    @RN-jo8zt 2 года назад +1

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

    • @Javatechie
      @Javatechie  2 года назад

      Yes we can but it's not safe

  • @raghavgoel9577
    @raghavgoel9577 3 года назад +1

    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 года назад +1

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

    • @raghavgoel9577
      @raghavgoel9577 3 года назад +1

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

    • @raghavgoel9577
      @raghavgoel9577 3 года назад +1

      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?

  • @mohammedfarhanahmed1554
    @mohammedfarhanahmed1554 2 года назад +1

    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

  • @sagarsaud156
    @sagarsaud156 3 года назад

    Can we use second table for ROLE?

  • @sunilsubedi7985
    @sunilsubedi7985 Год назад +1

    WebSecurityConfigureAdapter is removed now, make another video

    • @Javatechie
      @Javatechie  Год назад

      Please check This ruclips.net/video/R76S0tfv36w/видео.html

  • @deeplife9654
    @deeplife9654 10 месяцев назад

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

  • @ucgiangnguyen8009
    @ucgiangnguyen8009 Год назад +1

    could you please activate subtile

  • @ManojKumar-ut6ck
    @ManojKumar-ut6ck 3 года назад +1

    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

  • @tranvantai2437
    @tranvantai2437 3 года назад

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

  • @plreuokjhg
    @plreuokjhg 3 года назад

    or something like that

  • @dinobulja
    @dinobulja 2 года назад

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