Hi all. I am trying to implement Cerbos with a Java (spring) application. I was wondering if you have any resources available on how to properly set this up. Does Cerbos need to go through the Spring Security filter or is there any other way to realise authz on request level?
Thanks in advance,
12/13/2023, 10:51 AM
Hi. The last time I worked with Spring Security was many years ago so I can't quite help you with the specifics or the modern way of doing things 🙂 I reckon the way to integrate Cerbos would be through an interceptor that takes your request, makes a Cerbos API request to authorize it and then either passes control over to the handler or just rejects it.
12/13/2023, 11:36 AM
Thank you very much. Will try to configure this and come back to you ASAP.