Hello,
I'd like to know if the Hibernate supports custom row level security, I read on web tutorials about Spring + Hibernate, or filters. But I want to use only hibernate.
But what I want is more specific is something like for example: I have restrictions to user xpto, for example, this user can see the only the person 1, but for some reason this the admin want change this definition, now the user xpto can see the person between 1 and 10. So it will be dynamic. So I cant annotate all possible filters in a class.
Because of that I'd like to know if there's a way to do that in a Java application or if hibernate provide a similar feature.
Thank for any idea.
Rafael de Oliveira Brazil
|