I am creating a simple CRUD application (shopping list) with Spring Boot and Spring Data Rest. I have a resource: ShoppingItem . Is there an easy way to just return resources belonging to the user who sends the request? (Support for multiple users). Thus, the user gets their own ShoppingItems, and not every ShoppingItem. Or do I need to implement the controller myself, where do I do it?
I found Spring user-based REST data filtering data for this approach for user-based resource filtering, but that will not help me in the endpoint repository.
Thanks in advance
java spring spring-data-rest spring-security
Yannic klem
source share