I am working on a method of applying row level security to a spring data application transparently. I would like to use hibernate filters to accomplish this, but I am unable to get the aop pointcuts to intercept where spring data opens the session. What is the appropriate pointcut needed or is there a better approach to row level security that I can explore?
Ps: I need the security filtering to occur before the query to not affect paging and sorting of the data returned.
Thanks