JPAContainer / Container and ACL, hide restricted read items

Hi everyone. I has ACL from spring security in my application, and user that has right on part of records in table, some rows must be hidden from it. How i can do it with JPAContainer? Of course i can call service method that return id of records that can be visible for this user, but i searching more elegant solution.