| Hello guys,
 I'm trying to implement security on a field-level for my application using Spring/Acegi/Hibernate.
 
 I have roles on a database that defines if an user has access to a certain field on my bean.
 
 Researching on Hibernate JavaDocs I notice the interface org.hibernate.bytecode.BytecodeProvider
 
 It seems to provide field-access instumentation getTransformer(org.hibernate.bytecode.util.ClassFilter, org.hibernate.bytecode.util.FieldFilter)
 
 Does anyone know where should I plug this?
 
 I looked on the sessionFactory and most of the utility Spring classes for Hibernate, but no success until now.
 
 I also didn't find any examples on how to utilize this with hibernate.
 
 If anyone knows any other approach, please let me know.
 
 Best Regards,
 
 João Kreuzberg
 
 
 |