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

Sdílet
Vložit
  • čas přidán 19. 05. 2024
  • In this video, you’ll learn 5 key concepts and terms associated with Spring Security that you’ll really need to know.
    Authentication, Authorization, Principal, Authority and Role
    When you learn Spring Security, you’ll encounter these core terms and concepts over and over. In this video, I’ll break these terms down and explain them for you.
    Java Brains website: javabrains.io
    #JavaBrains #BrainBytes #WhatIs #SpringSecurity #Spring #SpringBoot #Java #Tutorial

Komentáře • 107

  • @MrEvmk
    @MrEvmk Před 3 lety +75

    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 Před 3 lety +11

    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.

  • @BharCode09
    @BharCode09 Před 4 lety +7

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

  • @amsata.mbengue
    @amsata.mbengue Před 3 lety +4

    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

  • @sherlockholmes1605
    @sherlockholmes1605 Před 9 měsíci

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

  • @hyperborean72
    @hyperborean72 Před 4 lety +31

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

  • @anushareddy8295
    @anushareddy8295 Před 4 lety +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 :)

  • @yahyafati
    @yahyafati Před 3 lety

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

  • @josephpudupermanil704
    @josephpudupermanil704 Před 4 lety +3

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

  • @gameaddicted9399
    @gameaddicted9399 Před 4 lety

    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.

  • @stephyjacob1256
    @stephyjacob1256 Před 4 lety +2

    Thanks man 👍 for this series. Please continue.

  • @siddharth4484
    @siddharth4484 Před 2 lety +1

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

  • @shefinshajahan2038
    @shefinshajahan2038 Před 4 lety +8

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

  • @ek19751
    @ek19751 Před 4 lety +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.

  • @abhy_spring
    @abhy_spring Před 4 měsíci

    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!

  • @KateShubham
    @KateShubham Před rokem +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!

  • @codingwithgraceandtruth2456

    Very well explained, highly appreciate the content.

  • @shantipriya4724
    @shantipriya4724 Před 4 lety +2

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

  • @shaswatdasgupta3776
    @shaswatdasgupta3776 Před 4 lety +1

    Thanks for uploading this video.So fine grained explanation .

  • @damiajayi4670
    @damiajayi4670 Před 3 lety

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

  • @chris.w391
    @chris.w391 Před 2 lety

    So well explained, thank you!

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 Před 2 měsíci

    Thank you! Very well explained! 💛

  • @innocentomoyibo6312
    @innocentomoyibo6312 Před 4 měsíci

    This explanation is sooo simple and incredible!!!!

  • @kushalsheth0212
    @kushalsheth0212 Před 9 měsíci

    Great animation 👏

  • @kamboj65
    @kamboj65 Před 2 lety

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

  • @barkavi9434
    @barkavi9434 Před 4 lety

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

  • @bekhruzmakhmudoveducationb9494

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

  • @suraskumarnayak8350
    @suraskumarnayak8350 Před 2 lety

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

  • @alexandrmelnichenko3612

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

  • @avinashgsr
    @avinashgsr Před 3 lety

    Brilliant explanation. Thank you very much

  • @vkdagamer2984
    @vkdagamer2984 Před 2 lety

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

  • @commentsonly4341
    @commentsonly4341 Před 4 lety +2

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

  • @Mohamed-uf5jh
    @Mohamed-uf5jh Před 4 lety

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

  • @ajitpandey100
    @ajitpandey100 Před 4 lety +1

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

  • @sandyj342
    @sandyj342 Před 4 měsíci

    such awesome clarity ❤

  • @rajkhare5949
    @rajkhare5949 Před 3 lety

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

  • @dmytroshmidt5981
    @dmytroshmidt5981 Před 3 měsíci

    Thank you for the grate explanation.

  • @mobe1164
    @mobe1164 Před rokem

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

  • @nagarajukp7820
    @nagarajukp7820 Před 3 lety

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

  • @amirthasaha
    @amirthasaha Před 4 lety

    Awesome as always!

  • @waiphyotun7633
    @waiphyotun7633 Před 5 měsíci

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

  • @dineshchandgr
    @dineshchandgr Před 4 lety

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

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb Před 3 lety

    THANK YOU SIR..WELL EXPLAINED

  • @br4676
    @br4676 Před 4 lety +1

    superb sir , thanks for nice explanation

  • @sajeevvasudevan6301
    @sajeevvasudevan6301 Před 4 lety +1

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

  • @huseyinavnikadoglu5541

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

  • @shubhamray6839
    @shubhamray6839 Před 4 lety

    hey .. I in love with your explanations ..

  • @Miaops
    @Miaops Před 6 měsíci

    good content! precise and esay to understand

  • @jeffrabitinthewind5592

    Very clear on these concepts

  • @abhiranjankumar8501
    @abhiranjankumar8501 Před 3 lety

    Nicely explained! Thanks... :)

  • @sciab3674
    @sciab3674 Před 2 lety

    nice easy to understand . thanks

  • @chandramanigupta6997
    @chandramanigupta6997 Před 4 lety

    Thank you so much.

  • @amanagarwal113
    @amanagarwal113 Před 4 lety +2

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

  • @charanahansa752
    @charanahansa752 Před 2 lety

    Great lesson 👌👍👏💯

  • @Mohamed-uf5jh
    @Mohamed-uf5jh Před 4 lety

    Is perfect explain , thanks

  • @sudhakar104624
    @sudhakar104624 Před 4 lety +1

    Thank you koushik

  • @hekarboi3656
    @hekarboi3656 Před 3 lety

    This is GEM!

  • @vamshikrishna298
    @vamshikrishna298 Před 3 lety

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

  • @vidyakrishnan3821
    @vidyakrishnan3821 Před 2 lety

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

  • @anitaig05
    @anitaig05 Před 2 lety

    nice video, great info! :)

  • @burramahesh
    @burramahesh Před 4 lety

    Thank you.

  • @kollurusahithi5160
    @kollurusahithi5160 Před 3 lety

    Well made videos👏

  • @liubomyr-oleksandrdebryniu8044

    thanks a lot very useful
    \

  • @kakashihatake4840
    @kakashihatake4840 Před 4 lety

    Thank You

  • @MrPRADEEP705
    @MrPRADEEP705 Před rokem

    Thanks!

  • @aayushkc2306
    @aayushkc2306 Před 4 lety

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

  • @dev1dev180
    @dev1dev180 Před 3 lety

    Good content.

  • @demidrek-heyward
    @demidrek-heyward Před 4 lety

    thanks love the vidios!

  • @pablohernandez4305
    @pablohernandez4305 Před 2 lety

    ohh great video

  • @elmokhliss4852
    @elmokhliss4852 Před 3 lety

    Thanks

  • @josephkingstonleomariamich7220

    Please create complete course on springsecurity thanka

  • @manjushanmugam4967
    @manjushanmugam4967 Před 4 lety

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

  • @melsaied101
    @melsaied101 Před 4 lety

    That's great

  • @ajay14sharma
    @ajay14sharma Před 4 lety

    Joined :)

  • @anshgyl
    @anshgyl Před 4 lety

    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?

  • @santhoshkumargajjala2657
    @santhoshkumargajjala2657 Před 4 lety +6

    Hi Sir, could you please upload on Docker or Kubernettes

  • @venkatanagasai7354
    @venkatanagasai7354 Před 4 lety

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

  • @michelchaghoury870
    @michelchaghoury870 Před 3 lety

    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

  • @javaexpertsa8947
    @javaexpertsa8947 Před 2 lety

    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).

  • @rajendracd9782
    @rajendracd9782 Před 4 lety +1

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

  • @rishabhsharma2133
    @rishabhsharma2133 Před 3 lety

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

  • @amruthakm1042
    @amruthakm1042 Před 4 lety

    Happy Teacher's day :)

  • @sarath6789
    @sarath6789 Před 4 lety

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

    • @Java.Brains
      @Java.Brains  Před 4 lety

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

  • @netherend8357
    @netherend8357 Před 3 lety

    Does Spring Security support JWT and token verification?

  • @katiesun1533
    @katiesun1533 Před 4 lety

    👍

  • @lequocthinh8992
    @lequocthinh8992 Před 2 lety

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

  • @vaibhavvyavahare
    @vaibhavvyavahare Před 3 lety

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

  • @sushil1922
    @sushil1922 Před 3 lety

    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 Před 3 lety

      where actually are principal object stored?

  • @manatoshpritam
    @manatoshpritam Před 3 lety

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

  • @manticha
    @manticha Před 4 lety

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

  • @prerakchoksi2379
    @prerakchoksi2379 Před 4 lety +11

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

  • @sarojsahoo8763
    @sarojsahoo8763 Před 4 lety

    It looks for me Authroization and Granted Authority are same.

  • @sarojsahoo8763
    @sarojsahoo8763 Před 4 lety

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

  • @taxconsultant2971
    @taxconsultant2971 Před 4 lety

    Sir I have Join course

  • @kamra.gaurav
    @kamra.gaurav Před 4 lety

    First view first comment

  • @TheGuroguro12
    @TheGuroguro12 Před 4 lety

    Hated principal in primary school 😀😀😀😀

  • @RameshBaburbabu
    @RameshBaburbabu Před 2 lety

    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 .

  • @jennmoore1326
    @jennmoore1326 Před 2 lety

    Authorization asked is a using for an avoidance of paying.Avoidance of paying a location to impactfully impose actions desired and or needed agendified without used collecting payment?.a scared or fear emotion that money or currency would change actions and a searching and comparing and or Masterial all over again would have to be imposed?..Depopulate

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv Před 3 lety

    Thanks