permission « Update « JPA Q&A





1. JAAS and Hibernate: Policy/Permission persistence?    forum.hibernate.org

Question: Do people on this forum have pointers to work that anyone may have done on using hibernate to persist permissions classes? It seems like a natural to define a java.security.Policy implementation that uses hibernate db to store/retrieve the Principals->Permissions associations (rather than the default FilePolicy that comes with the VM). Thanks for any pointers. I didn't find anything relevant in ...

2. How to persist Permissions classes    forum.hibernate.org

Hibernate version: 3.0 Mapping documents: not yet done Name and version of the database you are using: HSQL The question is more conceptual question. I have a simple class hierarchy - User has multiple Roles encapsulates multiple Permissions Permissions are implemented as a child to java.security.Permission class. Every permission has its own class, so there classes like READ, EDIT, DELETE (children ...