-->
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: Users, Roles and Privileges- Best Practice?
PostPosted: Sun Feb 17, 2008 12:24 pm 
Newbie

Joined: Sun Feb 17, 2008 12:17 pm
Posts: 1
I am currently working on the design of a new application. This application will have the following oracle tables to manage users, roles and privileges;

user has one to many roles
e.g. user1 is a clerk and a supervisor
a role has one to many privileges
e.g. a clerk can create and query records, a supervisor can delete records

If I were to use hibernate 3.0 as the persistence layer across the top of my oracle database, what would be the best way to;

a) develop the login functionality
b) manage the user's roles and privileges to enable/disable appropriate functionality within the application, given that the user will have the ability to change both a users roles, and a roles privileges within the application?

I have been discussing the above with a senior oracle consultant on the JDeveloper forum here;

http://forums.oracle.com/forums/thread. ... dID=617258

and am hoping that someone with more hibernate experience than myself may be able to offer some additional advice.

Thanks in advance for your thoughts/advice

David


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.