-->
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: DIFFERENT USERS... TABLE ROLES and PERMISSIONS...
PostPosted: Thu Apr 02, 2009 9:25 am 
Newbie

Joined: Thu Apr 02, 2009 9:02 am
Posts: 2
I need to implement a web app that will be used by different users. Each user has different privileges on various tables, e.g.

# User A is allowed to insert, update and read address table
# User B is not allowed to insert or update address table, but is allowed to read address table.

Please tell me what to setup in Hibernate, so that when user A attempts to do an update, the database knows it is user A that is trying to do the update and when user B attempts to do an update, the database knows it is user B that is trying to do the update.

How can I go about setting up more than one user any way?

Thanks.


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.