« Return to Thread: User Profiles and Clusters

RE: User Profiles and Clusters

by Joe Gatewood :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Caza,

 

I suspect answers to this question will get a broad range of perspectives.  I personally like to separate the gui from the data layer as much as possible.  For example our genTELLECT system has a NBP gui that talks to a mysql database using JAX-WS.  The gui knows nothing about the data.  The data descriptions are stored in the db and the gui gets those descriptions to build the appropriate views into the data.  When a user logs in I get his permissions from the database and then dynamically adjust the views accordingly.  For example, my database admin module allows a user with administrator privileges to add users and groups and therefore those panes are shown in the gui.  Normal users never see those panes.  I chose to put all  database admin related functions in one module instead of creating separate modules for users and administrators and then using the loader to customize the gui.

 

The way I chose is just one way and may not be right for you at all.

 

Joe

 

 


From: Caza Henha [mailto:cazahenha@...]
Sent: Tuesday, May 06, 2008 8:53 AM
To: dev@...
Subject: [openide-dev] User Profiles and Clusters

 

Hi everyone,

 

I am currently creating an reasonably large application intended for distribution to multiple users via jnlp. Now I have tinkered with jnlp and got the basic prototype distributing great after sorting a few idiosyncrasies, however before I go any further with the business logic there are two areas with which I would like some guidance as this is the first time I have used this platform and I am coming from a “J2EE” background and not a “swing/Netbeans RCP” one.

 

One of the requirements is that users from different functional groups can log in, now the suggestion is that once they have logged in (I have already made the login work using the link on the Netbeans wiki as a basis) depending on their functional/security group they will obtain a different set of loaded modules and layout, for example if the sales manager was logging in he would have access to modules(following their loading) possibly relating to sales figures, commissions etc whilst an sales person would only have access to product information, ordering, order status etc. I have been doing a bit of digging and in the past someone has mentioned “profiles” in Netbeans but all the references I seem to get search results for link to the “profiler,” so I am not sure if I am going down the right path.

 

I was planning to create a number of “clusters” such as Sales then like the login module use the Netbeans “module installer” to look at the functional/security group of the users, obtain a mapping to the clusters/modules that should be loaded for the user and then utilise a default “profile” for the user which defines layouts(“modes” of the TopComponents) and any Options? Would this be a correct assumption and if I have got the right end of the stick with the “profiles” described above could someone possibly send me a link to some information regarding it.

 

Any help appreciated.

 

Regards,

 

Caza

 

 

 « Return to Thread: User Profiles and Clusters

LightInTheBox - Buy quality products at wholesale price