https://cerbos.dev logo
#help
Title
# help
d

Daniel Doornekamp

12/13/2023, 10:39 AM
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

Charith (Cerbos)

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.
d

Daniel Doornekamp

12/13/2023, 11:36 AM
Thank you very much. Will try to configure this and come back to you ASAP.
3 Views