r/SpringBoot • • Aug 25 '26

Question How hard is Spring Security?

/r/CodingForBeginners/comments/1vxvbsl/how_hard_is_spring_security/
20 Upvotes

18 comments sorted by

View all comments

Show parent comment

6

u/Swimming_Gain_4989 Aug 25 '26

I would go as far as saying learning security concepts in Spring is bad, it's too featureful and abstracted. The unopinionated, simple nature of frameworks like Express and fastAPI make it easy to read how middleware is chaining together; you can literally see the order like CSRF tokens verified -> user session verified -> controller picks up request. That said as a user I trust the average Spring Boot server over the average node server.

Tangent: I always found it goofy that it's called "Spring Security" when it's pretty much an auth flow that can dip its toes into the app layer.

1

u/Hous3Fre4k Aug 25 '26

I mean you can enable debugging and spring tells you all the steps the requests goes through. Then just open the file and set a breakpoint if you like.
But I agree, there is certainly more abstraction involved.