Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Load Plugins
Load Plugins [message #448135] Tue, 18 April 2006 18:05 Go to next message
Eclipse UserFriend
Originally posted by: mgervais.signaturegenetics.com

Hi, I'bve a question about plugins, I'd like to add a connexion dialog to my
rcp application, to check who is logged, and after check if I can load
dependant plugins according to the user roles. I'd like to know if it's
possible and how to do this?
I've create a ConnexionDialog which extends
org.eclipse.jface.dialogs.Dialog, and I want to show this dialog in the
plugin start method, but it crash with a NoClassFoundError... I don't
understand why the class is not found and the plugin is started... Can we
interact on the loading process?
thanks for your help.
Mickael
Re: Load Plugins [message #448222 is a reply to message #448135] Wed, 19 April 2006 07:41 Go to previous messageGo to next message
Eclipse UserFriend
There is an eclipse-jaas project on sourceforge that offers:

1) authenticate a user
2) load plugins based on authentication.

I would check that out.

Later,
PW
Re: Load Plugins [message #448244 is a reply to message #448222] Wed, 19 April 2006 17:55 Go to previous message
Eclipse UserFriend
Originally posted by: mgervais.signaturegenetics.com

I've tried to use this plugin, it ok, but the wotks like this:
its load plugins, and theses plugins should not be mentionned in the
..product, but in extension point, and I'd like to use it in a different way
,m when I'm logged, I start dependent plugins only if they have the correct
role(associated to the current user), but I cannot stop a bundle alreay
started. I've tried to not call the start method in the Activator if the
login was not successfull but it doesn't work, how can I do this? Is it a
good idea?
Thanks
Mickael

"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:e257m7$l73$2@utils.eclipse.org...
> There is an eclipse-jaas project on sourceforge that offers:
>
> 1) authenticate a user
> 2) load plugins based on authentication.
>
> I would check that out.
>
> Later,
> PW
Previous Topic:Centralized Notification Broadcast in an Eclipse Application
Next Topic:Actions added, but they are disabled
Goto Forum:
  


Current Time: Wed Jul 30 19:41:04 EDT 2025

Powered by FUDForum. Page generated in 0.23387 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top