Pedro,
Shane just referred me to the following:
https://github.com/seam/security/blob/develop/impl/src/main/java/org/jbos...
Can you adapt your work to incorporate all facets of this Seam work?
Shane says users have varying db schema structures and the JPA
implementation in seam3 took care of the nuances.
Regards,
Anil