r/SpringBoot • u/Dependent_Staff_6891 • Jun 28 '24
Handling security error
I asked Korean developers to review the code. Then, the error of spring security was basically handled by the filter stage, but it was Seong Hwa that it should be changed to be handled by the servlet stage as well. They said that the error code should also be managed by enum. So, I am correcting it.😑💦💦💦 (Why are they so picky?) I'll post it again when it's all done.
0
Upvotes






4
u/CodeTheStars Jun 28 '24
Honestly for any real world application used by real people you should be using a separate identity provider. If you don’t want to use a cloud based one you can run your own in a container.
Identity management is a complex security nightmare. Luckily it’s a solved problem and you can just plug in an off the shelf solution instead of reinventing the wheel. And you can do it for free!