-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [Security on a field-level]
PostPosted: Sat Sep 08, 2007 10:48 am 
Newbie

Joined: Sat Sep 08, 2007 10:40 am
Posts: 2
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.