Hi all. I am trying to implement Cerbos with a Jav...
# help
d
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, Daniël
c
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.
d
Thank you very much. Will try to configure this and come back to you ASAP.