openutils-hibernate-security

openutils-hibernate-security provides base generic hibernate security classes, implementing a role based access control (RBAC) on data managed through hibernate.

See the test classes for how to setup security and look at javadocs for more details.

If need more detail but you don't want to dig into the sources, then you can read this document.