Five Spring Security Concepts - Authentication vs authorization - Java Brains Brain Bytes

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ • 111

  • @MrEvmk
    @MrEvmk 4 роки тому +94

    Note taking for my ref:
    Authentication : who is the user ?
    Authorization : Are they allowed to do certain things
    Principal : curently logged in user
    Granted Authority : way of providing Authorization.
    Roles : Group of authority.

  • @JS19190
    @JS19190 3 роки тому +14

    This is _by far_ the best channel I've encountered on Spring/Java. Incredible. I really appreciate that you give great metaphors (security guard etc) in order to better explain how the frameworks and technologies work.

  • @siddharth4484
    @siddharth4484 3 роки тому +2

    Feels like JVM & Spring itself teaching me...
    Thank you soo much sir from bottom of the heart...

  • @abhy_spring
    @abhy_spring Рік тому

    This video is amazing! Explained the most basics of Spring Security with such ease and visual entertainment!
    By far the easiest and greatest channel to learn Spring!

  • @BharCode09
    @BharCode09 5 років тому +11

    Simple. Neat. Perfect! Breaking up some of the most technical/confused concepts to layman level in such succinct manner..

  • @yahyafati
    @yahyafati 4 роки тому

    How in the world, did you manage to make this easy-to-understand? It is security. You are awesome, man.

  • @sherlockholmes1605
    @sherlockholmes1605 Рік тому

    Koushik is definitely one of the best teachers I've ever encountered on the web!

  • @amsata.mbengue
    @amsata.mbengue 4 роки тому +5

    I cant find the words to describe your work. Your courses are always well structured and rigorously explained. Been folowing for a long time now. Keep up the good work Kashug

  • @MrPRADEEP705
    @MrPRADEEP705 2 роки тому

    Thanks!

  • @kiyoqsy4901
    @kiyoqsy4901 4 місяці тому

    this is my second tutorial i've watched from this channel and it's amazing always the videos quality is improving

  • @innocentomoyibo6312
    @innocentomoyibo6312 Рік тому

    This explanation is sooo simple and incredible!!!!

  • @waiphyotun7633
    @waiphyotun7633 Рік тому

    Omg. This channel makes me learn better and laugh with smiles..

  • @KateShubham
    @KateShubham 2 роки тому +2

    You are just Amazing sir!!! You explain things so in depth, with conceptual fundamentals! Love it! I am new in software development space and find it mind boggling, but your videos are that peaceful, satisfying, enriching ride which brings clarity and confidence to keep going ahead. Have become Big Fan of your style!

  • @hyperborean72
    @hyperborean72 4 роки тому +33

    Are you professor in Stanford? amazing level of mentoring and knowledge of the subject

  • @josephpudupermanil704
    @josephpudupermanil704 5 років тому +3

    Great Presentation, good quality of content, ease understandable by everyone. Awesome Koushik. We all have great respect for you. Thank You.

  • @alexandrmelnichenko3612
    @alexandrmelnichenko3612 2 роки тому

    Thank you for a great explanation. That knowledge are still relevant in September 2022 - so it is very good.

  • @shefinshajahan2038
    @shefinshajahan2038 5 років тому +8

    Thank you koushik ... always waiting for your uploads 👌

  • @vkdagamer2984
    @vkdagamer2984 3 роки тому

    Thank You Sooo Much Sir for Posting this Video! it was very informative and you taught a lesson in 12 minutes when my teacher took 3-4 weeks, keep it up!!

  • @anushareddy8295
    @anushareddy8295 5 років тому +5

    I’ve been waiting for these videos. Excellent content as always Koushik. I’m hoping this series includes Single Sign-On concepts as well :)

  • @gameaddicted9399
    @gameaddicted9399 5 років тому

    Thanks for helping the students and the developer community by providing these awesome tutorials. I request you to please make more about Spring Security login logout functionalities. Really, you are doing a great job.

  • @HumbleShoeLace
    @HumbleShoeLace 3 роки тому

    A very nice explaination of the basic security concepts. !!!

  • @kamboj65
    @kamboj65 3 роки тому

    i'm learning about spring security and it is very userful. concise and well explained! thanks

  • @stephyjacob1256
    @stephyjacob1256 5 років тому +2

    Thanks man 👍 for this series. Please continue.

  • @shantipriya4724
    @shantipriya4724 4 роки тому +2

    Amazing content as usual. Always recommend your channel to my friends and colleagues.

  • @sandyj342
    @sandyj342 Рік тому

    such awesome clarity ❤

  • @5s4l1p1fcw
    @5s4l1p1fcw 5 років тому +3

    Thank you so much for making videos on this topic. Applications get compromised on a regular basis, but there seems to be a DMZ between app development and app security! :-) If you can, I would like to see you explain how to handle XSS, SQLi, CSRF etc., within the Spring security framework. Secure webservices would be awesome too. I've also been curious how financial apps and banks mash up data securely, so the user sees information from all their institutions in one place. I wouldn't mind paying for your time either. You're good at what you do and deserve to get paid for it.

  • @vidyakrishnan3821
    @vidyakrishnan3821 2 роки тому

    hahaha, the principal joke was hilarious ! .... also thanks for the video!

  • @Miaops
    @Miaops Рік тому

    good content! precise and esay to understand

  • @damiajayi4670
    @damiajayi4670 4 роки тому

    You have the best courses on Spring boot! I am really looking forward to your Java courses on your website

  • @nagarajukp7820
    @nagarajukp7820 4 роки тому

    Woww ..
    Really awesome videos from javabrains
    Simple and more depth .
    Thanks a lot sir for your time .

  • @kushalsheth0212
    @kushalsheth0212 Рік тому

    Great animation 👏

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 11 місяців тому

    Thank you! Very well explained! 💛

  • @dmytroshmidt5981
    @dmytroshmidt5981 Рік тому

    Thank you for the grate explanation.

  • @mobe1164
    @mobe1164 2 роки тому

    YOU ARE GREAT MAN! MAKE US MORE SUCH GREAT TUTORIALS KOUSHIK

  • @rajkhare5949
    @rajkhare5949 3 роки тому

    thank you so much...very good explanation in such a simple way....thanks for creating video like this!!!!

  • @charanahansa752
    @charanahansa752 3 роки тому

    Great lesson 👌👍👏💯

  • @codingwithgraceandtruth2456
    @codingwithgraceandtruth2456 4 роки тому +1

    Very well explained, highly appreciate the content.

  • @shaswatdasgupta3776
    @shaswatdasgupta3776 5 років тому +1

    Thanks for uploading this video.So fine grained explanation .

  • @avinashgsr
    @avinashgsr 4 роки тому

    Brilliant explanation. Thank you very much

  • @sciab3674
    @sciab3674 3 роки тому

    nice easy to understand . thanks

  • @ajitpandey100
    @ajitpandey100 5 років тому +1

    Very nice .... I like your all videos..simple language with covering all things

  • @br4676
    @br4676 5 років тому +1

    superb sir , thanks for nice explanation

  • @chris.w391
    @chris.w391 3 роки тому

    So well explained, thank you!

  • @vamshikrishna298
    @vamshikrishna298 4 роки тому

    Watching Kaushik @Java brain videos are like an interesting screenplay movie...:))

  • @hekarboi3656
    @hekarboi3656 3 роки тому

    This is GEM!

  • @lequocthinh8992
    @lequocthinh8992 3 роки тому

    Authentication - Who are you?
    Authorization- What can you do?
    Principal - Currently logged in account
    Granted authority
    Role

  • @jeffrabitinthewind5592
    @jeffrabitinthewind5592 5 років тому

    Very clear on these concepts

  • @barkavi9434
    @barkavi9434 5 років тому

    Really good presentation and well understood the concept of security. It's Valuable to spend time.

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 4 роки тому

    Thanks , in this hanel you understand the concept and how to implemante it , great job

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 4 роки тому

    THANK YOU SIR..WELL EXPLAINED

  • @commentsonly4341
    @commentsonly4341 5 років тому +2

    Amazing videos always keep waiting for them .. suggest u to bring a series of oauth2 , Redis , pcf and session management using spring boot .. 👍

  • @abhiranjankumar8501
    @abhiranjankumar8501 4 роки тому

    Nicely explained! Thanks... :)

  • @sajeevvasudevan6301
    @sajeevvasudevan6301 4 роки тому +1

    sir exactly amazing help for me this much of effort for me

  • @amirthasaha
    @amirthasaha 5 років тому

    Awesome as always!

  • @kollurusahithi5160
    @kollurusahithi5160 4 роки тому

    Well made videos👏

  • @anitaig05
    @anitaig05 3 роки тому

    nice video, great info! :)

  • @shubhamray6839
    @shubhamray6839 5 років тому

    hey .. I in love with your explanations ..

  • @sudhakar104624
    @sudhakar104624 5 років тому +1

    Thank you koushik

  • @huseyinavnikadoglu5541
    @huseyinavnikadoglu5541 4 роки тому

    Thank you so much! That will help me a lot ! :)

  • @bekhruzmakhmudoveducationb9494
    @bekhruzmakhmudoveducationb9494 5 років тому

    Thank you, sir. Your courses are great. Good luck

  • @dineshchandgr
    @dineshchandgr 4 роки тому

    Thank you so much for the effort. Amazingly explained using pictorials. ur very creative

  • @dev1dev180
    @dev1dev180 4 роки тому

    Good content.

  • @amanagarwal113
    @amanagarwal113 5 років тому +2

    Well explained sir. Can u make a video with an small Api with example of the same.

  • @pablohernandez4305
    @pablohernandez4305 3 роки тому

    ohh great video

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 4 роки тому

    Is perfect explain , thanks

  • @chandramanigupta6997
    @chandramanigupta6997 5 років тому

    Thank you so much.

  • @liubomyr-oleksandrdebryniu8044
    @liubomyr-oleksandrdebryniu8044 5 років тому

    thanks a lot very useful
    \

  • @demidrek-heyward
    @demidrek-heyward 4 роки тому

    thanks love the vidios!

  • @estebanmurcia8451
    @estebanmurcia8451 7 місяців тому

    Hi, what could be the approach for context based authorization, like maybe a user should only edit their own comments and not those of other users

  • @javaexpertsa8947
    @javaexpertsa8947 3 роки тому

    Authentication: Bob make's a request to the Server (login purposes) and it is the task of the Security part of the Server, to confirm Bob and find out, that he really is who he claims to be.
    Principle: After the authentification, Bob's details are saved for following requests.
    Authorization: Is Bob allowed to do a specific thing? Like deleting a user or even view other user details (not the passwords tho).
    Granted Authority: Basically this is the part, which actually handles the Authorization in Spring Security. A list of Authority for a specific User (if you wouldn't define Roles) must be setup.
    Roles: It would be a pain to setup for every single person a List of authorities, that's why Roles basically exist. If Bob has the role "User" and in the "Granted Authority" there is set of defined stuff for this role "User", he is only allowed to do the stuff specified. If he would try to do more than allowed, it would'nt be allowed for him (in the frontend-part he shouldn't even see stuff, he can't modify).

  • @santhoshkumargajjala2657
    @santhoshkumargajjala2657 5 років тому +6

    Hi Sir, could you please upload on Docker or Kubernettes

  • @burramahesh
    @burramahesh 5 років тому

    Thank you.

  • @josephkingstonleomariamich7220
    @josephkingstonleomariamich7220 5 років тому

    Please create complete course on springsecurity thanka

  • @aayushkc2306
    @aayushkc2306 5 років тому

    Please make the full course on spring boot security and outh2 .I am waiting for a long time..Thanks

  • @michelchaghoury870
    @michelchaghoury870 4 роки тому

    hey I really like your videos please make more we need your help can you make java android development tutorials, Gradle and the diff between Gradle and maven and which one is better, and what the ADF is really all about, and if we should use it or not and the diff between him and spring and also java desktop dev and if we can make a spring boot desktop app please we need your help and tx a lot

  • @melsaied101
    @melsaied101 4 роки тому

    That's great

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 4 роки тому

    Thanks

  • @kakashihatake4840
    @kakashihatake4840 5 років тому

    Thank You

  • @rishabhsharma2133
    @rishabhsharma2133 4 роки тому

    I hope to reach to your level of communicating one day.

  • @manjushanmugam4967
    @manjushanmugam4967 5 років тому

    Hi Kowsik.. one small request.. can you please explain why we need to store passwords in char[] array in java.. why not as string..

  • @netherend8357
    @netherend8357 4 роки тому

    Does Spring Security support JWT and token verification?

  • @sarath6789
    @sarath6789 5 років тому

    Koushik, how can we think of principal, one user having different roles or having different accounts with same role..?

    • @Java.Brains
      @Java.Brains  5 років тому

      Principal is just the currently logged in user. That user could have multiple roles

  • @anshgyl
    @anshgyl 5 років тому

    Can you please add a video in which we can use a custom login page, instead of a default one, how do we call the login API from our own form?

  • @vaibhavvyavahare
    @vaibhavvyavahare 4 роки тому

    Hello Sir, i want to restrict multiple user login usinng spring security.Not able to understand.please help

  • @sushil1922
    @sushil1922 4 роки тому

    why does app remember principal, when i use jwt token , I would just go and validate the token...do i need to remember principal in this case? Pls do answer

    • @sushil1922
      @sushil1922 4 роки тому

      where actually are principal object stored?

  • @venkatanagasai7354
    @venkatanagasai7354 5 років тому

    Hello sir, please provide the videos on oauth2 with jwt token using spring security

  • @kamra.gaurav
    @kamra.gaurav 5 років тому

    First view first comment

  • @ajay14sharma
    @ajay14sharma 5 років тому

    Joined :)

  • @rajendracd9782
    @rajendracd9782 5 років тому +1

    Hi Java Brains,
    Really good presentation!
    "Principal" is not specific to Spring Security. It's common across all the security frameworks.

  • @amruthakm1042
    @amruthakm1042 5 років тому

    Happy Teacher's day :)

  • @manatoshpritam
    @manatoshpritam 4 роки тому

    Hi Kaushik, you intro disco song is bit loud. It will be good if you please lower down that.

  • @manticha
    @manticha 5 років тому

    Nice Video but Can you give a real example application that do what you are explained above?

    • @Java.Brains
      @Java.Brains  5 років тому +10

      Yup, coming up!

    • @manticha
      @manticha 5 років тому +1

      @@Java.Brains waiting

  • @sarojsahoo8763
    @sarojsahoo8763 5 років тому

    It looks for me Authroization and Granted Authority are same.

  • @sarojsahoo8763
    @sarojsahoo8763 5 років тому

    Even in possesion based authentication Hacker can hack the phone and still can grab your secrets

  • @prerakchoksi2379
    @prerakchoksi2379 5 років тому +11

    "Principal is someone who I used to hate during my schools :D"

  • @katiesun1533
    @katiesun1533 5 років тому

    👍

  • @TheGuroguro12
    @TheGuroguro12 5 років тому

    Hated principal in primary school 😀😀😀😀

  • @taxconsultant2971
    @taxconsultant2971 5 років тому

    Sir I have Join course

  • @mg3011
    @mg3011 26 днів тому

    Too many stories bro. Its better to be concise and to the point. Max info given as capsule. Your content is good.

  • @RameshBaburbabu
    @RameshBaburbabu 2 роки тому

    there are only 2 things authentication , authorization . other things are derivatives , roles are derivative of authorization, Principle of derivation of cookies, grand authorities are derivatives of Roles .