Spring Security Patterns

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 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...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @IScorpionI
    @IScorpionI 3 ปีที่แล้ว +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 3 ปีที่แล้ว +1

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

  • @laubrino
    @laubrino 2 ปีที่แล้ว

    Great video. And right from the source!

  • @mirageman2
    @mirageman2 3 ปีที่แล้ว

    Great work, please more of this :)

  • @vishnumurali522
    @vishnumurali522 3 ปีที่แล้ว

    Great work...👏👏👏👏

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

    Gold level talk

  • @alexandroskourtis5268
    @alexandroskourtis5268 3 ปีที่แล้ว

    Great talk :))

  • @PradeepKumar-bp4lp
    @PradeepKumar-bp4lp 3 ปีที่แล้ว +1

    Thanks bro

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

    bom demais!

  • @sacch6579
    @sacch6579 3 ปีที่แล้ว

    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?

  • @deryamilas2593
    @deryamilas2593 2 ปีที่แล้ว

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

  • @IvanRandomDude
    @IvanRandomDude 3 ปีที่แล้ว +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 3 ปีที่แล้ว

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

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

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

    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 3 ปีที่แล้ว +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.