News for hackers. Stuff that matters.
Re:Spring 6.1 now compatible with virtual threads and JDK 21... by heisenbit on Wednesday August 16, 2023 @05:21PM (#37154022)
I would agree with most except Spring Security is not so simple due to its power and a number of changes over the releases. Trivial cases are simple to do but anything beyond that requires understanding the beast and that takes real effort. More complex cases are then again relatively easy.
Re:Spring 6.1 now compatible with virtual threads and JDK 21... by gabereiser on Wednesday August 16, 2023 @06:51PM (#37154928)
We experts have to pay our bills somehow… I joke but you’re right. Spring Security works up until a point and when you want to make it do exactly what you want it to, you have to crack it open-override or extend-implement your own class (cough UserDetailService cough). Still, if you’re doing microservices with spring, spring security is enough to ensure your jwt in the request is valid. I like to pair it with more robust auth like Keycloak though if I’m going “platform” instead of monolith.