Spring Security Patterns

Sdílet
Vložit
  • čas přidán 6. 06. 2024
  • What architectural patterns does Spring Security follow? This talk starts with an insecure application and secures it from the ground up. It’ll examine patterns that are repeated throughout Spring Security and explain why they are there. Among others, you’ll learn about Spring Security’s filter chain, its authentication manager, and its preference for final classes and private methods.
    Josh Cummings, Software Engineer at VMware; Eleftheria Stein, Software Engineer at VMware
    Slides: www.slideshare.net/Pivotal/sp...
  • Věda a technologie

Komentáře • 17

  • @IScorpionI
    @IScorpionI Před 3 lety +5

    Great talk with many valuable background information on underlying patterns and decisions. Also great idea to paste those code blocks using code templates during the talk.

  • @chrizzking
    @chrizzking Před 3 lety +1

    great talk and very easy to follow along the code provided. Thanks guys!

  • @laubrino
    @laubrino Před rokem

    Great video. And right from the source!

  • @mirageman2
    @mirageman2 Před 3 lety

    Great work, please more of this :)

  • @vishnumurali522
    @vishnumurali522 Před 3 lety

    Great work...👏👏👏👏

  • @guruprasadrao7
    @guruprasadrao7 Před rokem

    Gold level talk

  • @alexandroskourtis5268
    @alexandroskourtis5268 Před 3 lety

    Great talk :))

  • @deryamilas2593
    @deryamilas2593 Před 2 lety

    do you guys have any video for authorization based on roles in spring security

  • @sacch6579
    @sacch6579 Před 3 lety

    I am wondering if one can have one version of git code with security and one without? If yes, is it easy to be maintained in parallel?

  • @PradeepKumar-bp4lp
    @PradeepKumar-bp4lp Před 3 lety +1

    Thanks bro

  • @allisonmachado
    @allisonmachado Před 3 lety +3

    bom demais!

  • @saurabhsuman4960
    @saurabhsuman4960 Před rokem

  • @IvanRandomDude
    @IvanRandomDude Před 3 lety +3

    28:44 If Only Java had expressions (Expression in this case) like C# so we could use it to specify what field of auth object we want instead of using magic string.

    • @adambickford8720
      @adambickford8720 Před 3 lety

      Java does have that (Function) but the problem is that annotations have to be known at compile time (short of stupid reflection hacks)

  • @songbaiyin7830
    @songbaiyin7830 Před rokem

    I wish spring security does not include a default filter chain, they are useless. Every time I had to disable csrf here and disable stateful session there. I would be thinking: why don't we have a RestApiFilterChain. becoz rest api is the main stream now. Also could spring security be more opinionated and less flexible? Just have one way to do things and do things right. The spring security will be much much easier then.

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

    The DSL... the HTTP Security DSL is the biggest failures of Spring Framework. It is absolutely horrible. It is unreadable spaghetti code. It absolutely needs block level elements which the fluent inferface does not have. Fluent works and is readable when it ALWAYS returns the same type.
    NO one knows how to get the HttpSecurity to work. Every time is is just random stabs in the dark until it suddenly kind-of works and then they to make your app support what ever you got to work that is close enough of what you wanted.