Spring Security Architecture Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • Learn about the Spring Security framework, a comprehensive security solution for Java-based applications. In this video, we'll discuss how the framework uses a chain of filters to process incoming requests and enforce security rules, including authentication and authorization. We'll also introduce the AuthenticationProvider interface and its role in validating user credentials. Don't miss this essential guide to securing your Java-based applications with Spring Security! Make sure to hit the subscribe button for more informative videos on software development and technology.
    #springsecurity #springboot3 #jwt
    Join waiting list here: waiting-list.amigoscode.com/
    Don't Forget to
    ===========================================
    💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
    💯 Courses Available for free here - amigoscode.com/courses
    💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
    ⭐ Table Of Contents ⭐
    ===========================================
    00:00 - Intro
    01:45 - Spring Security Architecture
    14:01 - Outro
    🙊 Here are the goods for all my videos video 🙊
    ► Recommended Books
    ===========================================
    - Clean Code - amzn.to/2UGDPlX
    - HTTP: The Definitive Guide - amzn.to/2JDVi8s
    - Clean Architecture - amzn.to/2xOBNXW
    ► Computer and Monitor
    ===========================================
    - New Apple MacBook Pro - amzn.to/3464Mmn
    - Dell 27 INCH Ultrasharp U2719D Monitor - amzn.to/2xM3nW1
    - Double Arm Stand Desk Mount - amzn.to/3aYKKfs
    - USB C Hub Multiport Adapter - amzn.to/2Jz7NlL
    ► Camera Gear
    =============================================
    - Sony ILCE7M3B Full Frame Mirrorless Camera - amzn.to/346QIJn
    - Sigma 16 mm F1.4 DC DN - amzn.to/2wbic3Q
    - Sigma 33B965 30 mm F1.4 DC DC - amzn.to/39G37Fd
    ► IDE & Tools I use for coding 💻 🎒
    ===========================================
    - ITerm
    - VsCode
    - GoLand
    - IntelliJ Ultimate
    - Sublime
    P.S
    ===========================================
    💯 Don't forget to subscribe | bit.ly/2HpF5V8
    💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
    💯 Follow me on Instagram | bit.ly/2TSkA9w
    ❤️ Thanks for watching
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 77

  • @amigoscode
    @amigoscode  ปีที่แล้ว +9

    Join waiting list here 🔥- waiting-list.amigoscode.com/

    • @rahff99
      @rahff99 ปีที่แล้ว

      as salem 3alaylk, there is a miskate in your website UI, the bundle 2 courses for fullstack is display with a price of 1400$, but under the link the first course price is 98$ and the second one is 480$, I think there is a bug.

  • @midlajj
    @midlajj ปีที่แล้ว +28

    Please do the explanation of OAuth2 authentication architecture..

  • @seanfang398
    @seanfang398 ปีที่แล้ว +17

    I've been studying springboot recently, and I really scratched my head a lot when learning spring security even after watching your tutorial video😂 This architecture tutorial will be a great help for me, thank you so much 🙏

  • @heyyrudyy404
    @heyyrudyy404 ปีที่แล้ว +2

    The best spring security 101 overview I’ve ever had 🔥🔥🔥

  • @kordiankrecisz5298
    @kordiankrecisz5298 ปีที่แล้ว +3

    Beautifully explained. Until now it all looked like magic to me. Cheers!

  • @eliastefera8574
    @eliastefera8574 ปีที่แล้ว +1

    Probably one of the best explanations about Spring Security!

  • @cihatgelir2711
    @cihatgelir2711 ปีที่แล้ว +1

    I was trying to find a time to look for this concept. Thanks a lot man. Appreciated.

  • @user-tm4jc5ej8z
    @user-tm4jc5ej8z ปีที่แล้ว +2

    thanks sincerely from korea.
    I couldn't find good spring security architecture explanation in my language.
    most of blog posts or instructors just focus on how to use, and all of them is using spring boot 2.x
    so I couldn't apply spring security to my company project which is using spring boot 3.0 effectively. this video and your channel is really really useful.
    thanks again

  • @s.k.6563
    @s.k.6563 7 หลายเดือนก่อน

    The best. Not just a code, but an explanation.

  • @michaelmihov1651
    @michaelmihov1651 9 หลายเดือนก่อน +1

    Spring security is such an overwhelming topic at first sight. But thanks to our wonderful community and especially thanks to Nelson we are making quick progress :)

  • @MrTutiplengo
    @MrTutiplengo ปีที่แล้ว

    Awesome companion video to Ali's two hour video. This helped make more sense of what is happening internally.

  • @serhiisterniichukda-0131
    @serhiisterniichukda-0131 ปีที่แล้ว +9

    Wow, lately you have been doing a lot of content about security in Spring Boot.

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 5 หลายเดือนก่อน

    Awesome tutorial! Thank you for the great explanation! 💛

  • @user-jd8sn2zf8g
    @user-jd8sn2zf8g ปีที่แล้ว

    Thank you, video very clear, everyone can understand architecture Spring Security !

  • @alessandrobx5850
    @alessandrobx5850 ปีที่แล้ว

    Awesome and very clear explanation

  • @milad_mo
    @milad_mo ปีที่แล้ว

    Your videos and explanations always are helful and complete, Thanks Akhavi.

  • @ssbing99
    @ssbing99 ปีที่แล้ว

    Thankyou. Im finally have a clear understanding on this

  • @dugumayeshitla3909
    @dugumayeshitla3909 ปีที่แล้ว

    Wonderful content. Thanks.

  • @DogoOrtodoxo
    @DogoOrtodoxo หลายเดือนก่อน

    Guy, your video has a high quality video and audio, congrats

  • @eptitsyn
    @eptitsyn ปีที่แล้ว

    Thanks, security is crucial nova days.

  • @eloyam9973
    @eloyam9973 10 หลายเดือนก่อน

    Very useful and well explained video

  • @janakisnotebook
    @janakisnotebook ปีที่แล้ว +1

    Thanks bro. 😊 , awesome

  • @ramadanlotfe829
    @ramadanlotfe829 ปีที่แล้ว +1

    The best for ever 😍

  • @djoleezcool
    @djoleezcool ปีที่แล้ว

    👏Can't wait for the full course. I hope price will be suitable. :D

  • @mookayreet8518
    @mookayreet8518 ปีที่แล้ว

    I like your short video, I don't know why, they are so interesting.

  • @TheCheapsonor
    @TheCheapsonor 6 หลายเดือนก่อน

    Thank you for this

  • @m.k799
    @m.k799 ปีที่แล้ว +1

    Thanks for this helpful explanation, could you please make a video to explain with an example about spring batch 5

  • @user-kh9nm3tr1v
    @user-kh9nm3tr1v ปีที่แล้ว

    Assalamu alaykum. May Allah bless you brother, greetings from Chechnya!

  • @student_03
    @student_03 หลายเดือนก่อน

    thank you very much

  • @VVV-xf5vl
    @VVV-xf5vl ปีที่แล้ว

    awesome content

  • @erroratsql
    @erroratsql ปีที่แล้ว

    You are the best

  • @dmytroshmidt5981
    @dmytroshmidt5981 5 หลายเดือนก่อน

    Thank you

  • @jesper2455
    @jesper2455 ปีที่แล้ว +1

    Good video if you are already familiar with Spring Security and need a refresher, not so useful for beginners.

  • @amitkumarkhade7988
    @amitkumarkhade7988 6 หลายเดือนก่อน

    great video!! Please append it before the jwt video. Only watching jwt video gets extremely confusing. I understood the jwt video after watching this video.

  • @ramanujambandi
    @ramanujambandi ปีที่แล้ว

    Awesome videos. Recently am moved to UK. Am going to start my career here. Can you provide tips or how the interview process going here. Am also java developer with 3 years experience

  • @omgmaw
    @omgmaw ปีที่แล้ว

    Great video! Also can you provide a link to download the Spring Security architecture diagram? Thank you!

  • @rahff99
    @rahff99 ปีที่แล้ว

    great

  • @sciab3674
    @sciab3674 ปีที่แล้ว

    thumb up thanks

  • @romeobernabe6871
    @romeobernabe6871 ปีที่แล้ว

    Hi nelson, maybe you bet to discuss SB 3 with OAUTH2. Thanks

  • @user-xo9zp3nh6w
    @user-xo9zp3nh6w ปีที่แล้ว

    good

  • @jovanvuticovski7781
    @jovanvuticovski7781 ปีที่แล้ว

    Can you make a video of Springboot 3.0 and security. Since a lot is depricated. I'd like to learn how to use role based security for rest apis.

  • @andyk544
    @andyk544 11 หลายเดือนก่อน

    We need the same about Spring Boot 3 + OAuth2. Maybe with Keyclock or Okta...

  • @rogeert
    @rogeert ปีที่แล้ว +1

    can you make a video about Keycloak integration with spring boot 3.

  • @valitovgaziz
    @valitovgaziz ปีที่แล้ว

    Hi. Thanks for video. Can your sharing with me the picture on guide? That define spring security? Please.

  • @erickjhormanromero6905
    @erickjhormanromero6905 ปีที่แล้ว

    I'm so interested in the code that you showed. Where can i get it?

  • @rahilsanghavi9347
    @rahilsanghavi9347 10 หลายเดือนก่อน

    12:50 is there any particular reason why our filter was inserted before the UsernamePasswordAuthenticationFilter only? I have been looking at several spring security implementations and almost all of them have inserted the custom filter before UsernamePasswordAuthenticationFilter. I am wondering if this is some commong practice or a coincidence.

  • @bluex217
    @bluex217 4 หลายเดือนก่อน

    I think my question about the diagram is this: If we have a custom JWTAuthenticationFilter that is simply extracting the username/password from the token within the HTTP headers, and creating a standard UsernameAndPasswordAuthenticationToken to pass to the AuthenticationManager, then wouldn't we just take that straight to the DAOAuthenticationProvider, since that generally expects Authentication type of UsernameAndPasswordAutnethicationToken? Therefore, in that case, what is the point of having a JWTAuthenticationProvider?
    Is JWTAuthenticationProvider actually an ALTERNATIVE to having a custom filter (IE "JWTAuthenticationFilter") , to setup JWT authentication?

  • @thawzin5080
    @thawzin5080 ปีที่แล้ว

    please make javafx and spring boot video.

  • @ASSASIN299
    @ASSASIN299 11 หลายเดือนก่อน

    @amigoscode
    I dont understand how the UserNamePasswordToken calls the Providermanager? Is it something spring internal?

  • @valikonen
    @valikonen ปีที่แล้ว

    Angular dev core members love Java...

  • @KartikDhiman
    @KartikDhiman ปีที่แล้ว +1

    is it a typo "ANGULARJS" in frontend section ?

  • @adebisiabdulbaasit9465
    @adebisiabdulbaasit9465 ปีที่แล้ว

    Jazakumullahu khairan 🥰, I noticed no teslim?

  • @muhammadseude
    @muhammadseude ปีที่แล้ว

    As-salaamu-alaiqum brother. I want to understand how the OAuth2.0 Authentication and Authorization is implemented with the help of API Gateway in micro-services environment. Please suggest any videos.

  • @noormustafa926
    @noormustafa926 หลายเดือนก่อน

    Wa Alaikum Assalam

  • @guuridev
    @guuridev ปีที่แล้ว

    Which is the diagram creator tool which is used for this????

  • @martianstarslit3768
    @martianstarslit3768 5 หลายเดือนก่อน

    Thank you for this. Please can you do on an app that has two roles like Doctor and patient, not just Admin and User? This means each person would sign up on their own, no admin creating a new user. If anyone has any Spring Security video like this, they can share too. Thank 6

  • @giorgitughushi6509
    @giorgitughushi6509 ปีที่แล้ว

    TH-cam is missing Good Quality Video of Java spring boot With Websockets !

  • @huntleymurdock3004
    @huntleymurdock3004 23 วันที่ผ่านมา

    Why don't JwtAuthenticationFilter just drop the request, is it necessary to do filters after it?

  • @public1303
    @public1303 ปีที่แล้ว

    Please amegose make vedio spring boot with file system

  • @szalaytamas3184
    @szalaytamas3184 ปีที่แล้ว

    3:59 heimerdinger

  • @TheAd021
    @TheAd021 8 หลายเดือนก่อน

    I don't get it. How does a JWT has something to do with UsernamePasswordAuthenticationToken? Isn't it just a signed JSON, and all we need is to check signature? Where does the "password" part come from?

  • @javainstancese-learningcen8883
    @javainstancese-learningcen8883 ปีที่แล้ว

    Hi 👋

  • @user-cu1mz4ok3u
    @user-cu1mz4ok3u ปีที่แล้ว

    Can you share the project? Thanks!

  • @robertsonbilonda2142
    @robertsonbilonda2142 ปีที่แล้ว

    How to rotate my roles so that a user can have access to select modify a resource only if the latter has an admin or super-admin role and also what is the alternative to the @EnableGlobalMethodSecurity() annotation in spring security 6

  • @chibuikeokeke2832
    @chibuikeokeke2832 ปีที่แล้ว

    Hi Nelson are you the one handling Amigoscode personal account that recently got deactivated. Pls I have some explanations to make on it. I lost money.

  • @ikhsanopl738
    @ikhsanopl738 2 หลายเดือนก่อน

    is the course have translated?

  • @vietronaldo23w
    @vietronaldo23w ปีที่แล้ว

    hello. first comment :D

  • @tuo5336
    @tuo5336 ปีที่แล้ว

    First

  • @devdadph
    @devdadph ปีที่แล้ว

    First also hahaha

  • @CheeseStickzZ
    @CheeseStickzZ 6 หลายเดือนก่อน

    Or you can just use keycloak and skip everything besides the jwtauthconverter and the securityfilterchain lmao

  • @geosystems2106
    @geosystems2106 5 หลายเดือนก่อน

    Very strange material ! It is like "if you have a map, I will show you how I got here". Who cares ?? You should be telling how to follow the right path to understand :/ probably too busy with trying to sell trainings :P

  • @darogajee3286
    @darogajee3286 ปีที่แล้ว

    unable to understand . worst explaintaion possible . where is webSecurityConfigurerAdapator modified class

    • @ganeshbabu8263
      @ganeshbabu8263 10 หลายเดือนก่อน

      It's spring security 6