Spring Security Architecture Explained

Поділитися
Вставка
  • Опубліковано 16 чер 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
  • Наука та технологія

КОМЕНТАРІ • 75

  • @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 Рік тому +26

    Please do the explanation of OAuth2 authentication architecture..

  • @seanfang398
    @seanfang398 Рік тому +16

    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 10 місяців тому +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.

  • @s.k.6563
    @s.k.6563 6 місяців тому

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

  • @user-tm4jc5ej8z
    @user-tm4jc5ej8z 11 місяців тому +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

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

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

  • @michaelmihov1651
    @michaelmihov1651 8 місяців тому +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 :)

  • @DogoOrtodoxo
    @DogoOrtodoxo 9 днів тому

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

  • @user-jd8sn2zf8g
    @user-jd8sn2zf8g 10 місяців тому

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

  • @serhiisterniichukda-0131
    @serhiisterniichukda-0131 Рік тому +9

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

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

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

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

    Thankyou. Im finally have a clear understanding on this

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 3 місяці тому

    Awesome tutorial! Thank you for the great explanation! 💛

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

    Awesome and very clear explanation

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

    Thanks, security is crucial nova days.

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

    Wonderful content. Thanks.

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

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

  • @ramadanlotfe829
    @ramadanlotfe829 Рік тому +1

    The best for ever 😍

  • @janakisnotebook
    @janakisnotebook Рік тому +1

    Thanks bro. 😊 , awesome

  • @eloyam9973
    @eloyam9973 9 місяців тому

    Very useful and well explained video

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

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

  • @TheCheapsonor
    @TheCheapsonor 5 місяців тому

    Thank you for this

  • @user-kh9nm3tr1v
    @user-kh9nm3tr1v Рік тому

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

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

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

    You are the best

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

    Thank you

  • @VVV-xf5vl
    @VVV-xf5vl Рік тому

    awesome content

  • @jesper2455
    @jesper2455 Рік тому +1

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

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

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

    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.

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

    great

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

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

    thumb up thanks

  • @andyk544
    @andyk544 9 місяців тому

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

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

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

  • @user-xo9zp3nh6w
    @user-xo9zp3nh6w Рік тому

    good

  • @rogeert
    @rogeert Рік тому +1

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

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

    Angular dev core members love Java...

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

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

    please make javafx and spring boot video.

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

  • @bluex217
    @bluex217 3 місяці тому

    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?

  • @noormustafa926
    @noormustafa926 2 дні тому

    Wa Alaikum Assalam

  • @KartikDhiman
    @KartikDhiman Рік тому +1

    is it a typo "ANGULARJS" in frontend section ?

  • @ASSASIN299
    @ASSASIN299 9 місяців тому

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

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

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

  • @rahilsanghavi9347
    @rahilsanghavi9347 9 місяців тому

    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.

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

    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 Рік тому

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

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

    Jazakumullahu khairan 🥰, I noticed no teslim?

  • @javainstancese-learningcen8883

    Hi 👋

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

    Please amegose make vedio spring boot with file system

  • @szalaytamas3184
    @szalaytamas3184 10 місяців тому

    3:59 heimerdinger

  • @user-cu1mz4ok3u
    @user-cu1mz4ok3u Рік тому

    Can you share the project? Thanks!

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

    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?

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

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

    hello. first comment :D

  • @ikhsanopl738
    @ikhsanopl738 21 день тому

    is the course have translated?

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

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

    First

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

    First also hahaha

  • @CheeseStickzZ
    @CheeseStickzZ 5 місяців тому

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

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

    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 11 місяців тому

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