Skip to main content



      Home
Home » Eclipse Projects » Equinox » Plugin (or Feature) Activation and User Profile
Plugin (or Feature) Activation and User Profile [message #15197] Sat, 22 March 2003 18:01 Go to next message
Eclipse UserFriend
Originally posted by: texierb.bigfoot.com

Hi,

I really enjoy the coming out of the equinox project.

I'm currently in charge of designing an end user trading application and I
seriously investigate eclipse as the core plateform to do it (as i already
intensively use it for developpement).
But to really be suitable eclipse seems to lack few "features":
- a strong dynamic plugin / component model
I was glad to learn that you 're handling this issue.
- a user login mechanism to activate a subset of deployed plugin based on
the user profile:
As an example we have roughly 200 users that can be grouped in 5
differents profiles (sales, traders, middle office agents, back office
agents, administrators,...)
We want to deploy the same application to al of then (to ensure Look &
Feel, Core features, transerval service are all the same) but we need a
mechanism to activate feature on a user profile basis.
Currently, at start up, eclipse activate the same subset of plugins
for all users (since there's no user concept in the core runtime).
- a way to silently upload, install, and activate plugins to use plateform
update in a large business production environment.
Currently, installing a new feature requires the user interaction.

Do you think the two last would be issues of interest for the equinox
project?

If eclipse could provide such mechanisms it would probably become the most
interesting framework for vertical business domain applications in the java
world.

Best Regards.

Benoit Texier
Technical Architect.
Societe General Investment Banking
www.sigb.com
Re: Plugin (or Feature) Activation and User Profile [message #15232 is a reply to message #15197] Sun, 23 March 2003 22:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com

Benoit,

Thanks for your interest in Equinox. User models/notions are one of those
"easy" problems that are really hard to get right. Your usecase is
interesting in that (as I understand it) you do not really need a notion of
user but rather one of "role". In such and such a role the user would get
some set of features/plugins. In some other role, they would get a
different set. I believe that you can effectively do this now though it is
manual. This issue may come up in Equinox as a way of managing large
feature/plugin sets but it is not a mainline concern. In the even that it
does not come up, I suggest that you enter a feature request in the
update/install component of the Eclipse platform project.

Update install push (which is what I think you are after with your third
point) is also one of those issues which may come up in Equinox but is not
currently on the table. Again, please ensure that you have detailed your
requirements in a feature request in update/install.

Better yet, for both of these, why not write/prototype the code and
contribute it to the platform project?!

Jeff

"Benoit Texier" <texierb@bigfoot.com> wrote in message
news:b5ipt7$d5t$1@rogue.oti.com...
> Hi,
>
> I really enjoy the coming out of the equinox project.
>
> I'm currently in charge of designing an end user trading application and I
> seriously investigate eclipse as the core plateform to do it (as i already
> intensively use it for developpement).
> But to really be suitable eclipse seems to lack few "features":
> - a strong dynamic plugin / component model
> I was glad to learn that you 're handling this issue.
> - a user login mechanism to activate a subset of deployed plugin based on
> the user profile:
> As an example we have roughly 200 users that can be grouped in 5
> differents profiles (sales, traders, middle office agents, back office
> agents, administrators,...)
> We want to deploy the same application to al of then (to ensure Look &
> Feel, Core features, transerval service are all the same) but we need a
> mechanism to activate feature on a user profile basis.
> Currently, at start up, eclipse activate the same subset of plugins
> for all users (since there's no user concept in the core runtime).
> - a way to silently upload, install, and activate plugins to use plateform
> update in a large business production environment.
> Currently, installing a new feature requires the user interaction.
>
> Do you think the two last would be issues of interest for the equinox
> project?
>
> If eclipse could provide such mechanisms it would probably become the most
> interesting framework for vertical business domain applications in the
java
> world.
>
> Best Regards.
>
> Benoit Texier
> Technical Architect.
> Societe General Investment Banking
> www.sigb.com
>
>
>
>
>
Re: Plugin (or Feature) Activation and User Profile [message #15331 is a reply to message #15232] Mon, 24 March 2003 10:48 Go to previous messageGo to next message
Eclipse UserFriend
"Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in
news:b5ltcc$s12$1@rogue.oti.com:

> Benoit,
>
> Thanks for your interest in Equinox. User models/notions are one of
> those "easy" problems that are really hard to get right. Your usecase
> is interesting in that (as I understand it) you do not really need a
> notion of user but rather one of "role". In such and such a role the
> user would get some set of features/plugins. In some other role, they
> would get a different set. I believe that you can effectively do this
> now though it is manual. This issue may come up in Equinox as a way
> of managing large feature/plugin sets but it is not a mainline
> concern. In the even that it does not come up, I suggest that you
> enter a feature request in the update/install component of the Eclipse
> platform project.
>
> Update install push (which is what I think you are after with your
> third point) is also one of those issues which may come up in Equinox
> but is not currently on the table. Again, please ensure that you have
> detailed your requirements in a feature request in update/install.
>
> Better yet, for both of these, why not write/prototype the code and
> contribute it to the platform project?!
>
> Jeff

I agree with Jeff about opening a feature in Install/Update
We included such a scenario in our design.
the -platform <platform configuration URL> is our starting point for such a
feature.
Your user can point to a central URL <server logic> that will return the
appropriate list of feature they can access.
Right now there is no runtime-restriction or policy to prevent any user to
run any feature found on the site. The best we can do as of now is
filtering which feature are enabled or not based on user setup.

--
Christophe Elek
Eclipse Project
http://www.eclipse.org
Re: Plugin (or Feature) Activation and User Profile [message #15429 is a reply to message #15331] Mon, 24 March 2003 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: texierb.bigfoot.com

Thanks for all your precious remarks.

I 'm actually thinking about coding the install push and proposed it to the
eclipse commiters.
However I think my need wasn't clearly explained (I'm sorry about my poor
english, but I 'm definitly a french guy )
In my usecase the activation of a subset of the available plugins must done
just after the user login time based on its role settings.
As Christopher perfectly pointed, it requires me to introduce a concept of
user, login and role within the runtime and a model
for role settings and permissions.
I wonder if such a think could be of any interest regarding the initial
purpose of eclipse (a general purpose ide).
To my views it could be usefull in the following situations:
- some remote control plugin on servers must be protected from
unattented or not permissionned use by a developper.
However we could always design the puglin in such a way that it requires a
login in its property page... (as for cvs plugin)

So I'm not sure such "role based at login plugin authorisation/activation"
would be of interest in the runtime.


As for the push feature update.
If you managed to upgrade the plugin model to support silent desactivation/
Activation, we could start thinking about silent push update in order
to transparently upgrade the platform from a end user point of view. This is
a major concern of my favorite IT support team :-).

I'll be back later, I've got some few line of bloody C++ to debug!

Benoit.
Technical Architect
www.sgib.com

"Christophe Elek" <celek@ca.ibm.com> a
Re: Plugin (or Feature) Activation and User Profile [message #15462 is a reply to message #15331] Mon, 24 March 2003 16:33 Go to previous messageGo to next message
Eclipse UserFriend
Christophe Elek wrote:
> "Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in
> news:b5ltcc$s12$1@rogue.oti.com:
>
>
>>Benoit,
>>
>>Thanks for your interest in Equinox. User models/notions are one of
>>those "easy" problems that are really hard to get right. Your usecase
>>is interesting in that (as I understand it) you do not really need a
>>notion of user but rather one of "role". In such and such a role the
>>user would get some set of features/plugins. In some other role, they
>>would get a different set. I believe that you can effectively do this
>>now though it is manual. This issue may come up in Equinox as a way
>>of managing large feature/plugin sets but it is not a mainline
>>concern. In the even that it does not come up, I suggest that you
>>enter a feature request in the update/install component of the Eclipse
>>platform project.
>>
>>Update install push (which is what I think you are after with your
>>third point) is also one of those issues which may come up in Equinox
>>but is not currently on the table. Again, please ensure that you have
>>detailed your requirements in a feature request in update/install.
>>
>>Better yet, for both of these, why not write/prototype the code and
>>contribute it to the platform project?!
>>
>>Jeff
>
>
> I agree with Jeff about opening a feature in Install/Update
> We included such a scenario in our design.
> the -platform <platform configuration URL> is our starting point for such a
> feature.
> Your user can point to a central URL <server logic> that will return the
> appropriate list of feature they can access.
> Right now there is no runtime-restriction or policy to prevent any user to
> run any feature found on the site. The best we can do as of now is
> filtering which feature are enabled or not based on user setup.
>

I haven't tried it, but I'm wondering if the '-install' option could be
used to point different users to different installation feature sets?
On a unix machine, it would not be too hard to setup different eclipse
installations each with different features based on role. Then, instead
of having the user directly execute eclipse.exe, have them execute a
script that executes eclipse.exe with the -install option pointing to
the appropriate installation for that user.

'Not sure how this maps to the win NT/2k/XP case.

Just a thought on a near term fix for Benoit's scenario.

For the longer term, I think that Eclipse needs to gain some sense of
user authentication (i.e. using JAAS) and profiled behavior to be used
for developing some types of applications.

Mel
Re: Plugin (or Feature) Activation and User Profile [message #16539 is a reply to message #15429] Fri, 28 March 2003 09:40 Go to previous messageGo to next message
Eclipse UserFriend
"Benoit Texier" <texierb@bigfoot.com> wrote in
news:b5nr41$7m0$1@rogue.oti.com:

> Thanks for all your precious remarks.
>
> I 'm actually thinking about coding the install push and proposed it
> to the eclipse commiters.
Ok, watch out that some big company do not want push technology. There
should be a way to disable it:
The scenario is that a big company has 200-250 developer and they do not
want developer to install their own plugin. They want the plugins to come
from an internal-central place

> However I think my need wasn't clearly explained (I'm sorry about my
> poor english, but I 'm definitly a french guy )
me too :-) [Nantes]

> In my usecase the activation of a subset of the available plugins must
> done just after the user login time based on its role settings.
> As Christopher perfectly pointed, it requires me to introduce a
> concept of user, login and role within the runtime and a model
> for role settings and permissions.
> I wonder if such a think could be of any interest regarding the
> initial purpose of eclipse (a general purpose ide).
> To my views it could be usefull in the following situations:
> - some remote control plugin on servers must be protected from
> unattented or not permissionned use by a developper.
> However we could always design the puglin in such a way that it
> requires a login in its property page... (as for cvs plugin)
>
> So I'm not sure such "role based at login plugin
> authorisation/activation" would be of interest in the runtime.
a resource(plugin/feature) policy framework Should work. If implemented
deep in core no ?

> As for the push feature update.
> If you managed to upgrade the plugin model to support silent
> desactivation/ Activation, we could start thinking about silent push
> update in order to transparently upgrade the platform from a end user
> point of view. This is a major concern of my favorite IT support team
> :-).
can the OS update work ? What if the plugin are in a central location ?
How do we know user (remote/disconnected) still have the feature enabled
in their workspace when we delete it from the server ? to many questions
:-)

> I'll be back later, I've got some few line of bloody C++ to debug!
>
> Benoit.
> Technical Architect
> www.sgib.com

--
Christophe Elek
Eclipse Project
http://www.eclipse.org
Re: Plugin (or Feature) Activation and User Profile [message #16556 is a reply to message #15462] Fri, 28 March 2003 09:43 Go to previous messageGo to next message
Eclipse UserFriend
Mel Martinez <melm@us.ibm.com> wrote in news:b5ntg3$9fk$1@rogue.oti.com:

> I haven't tried it, but I'm wondering if the '-install' option could be
> used to point different users to different installation feature sets?
Yes, but you then bypass the confirguration. -install (if my memory serves
me well) is used to point to a place where the platfom can find boot and
other plugins. Where -configuration points to a file that contains all the
info you need.

> On a unix machine, it would not be too hard to setup different eclipse
> installations each with different features based on role. Then, instead
> of having the user directly execute eclipse.exe, have them execute a
> script that executes eclipse.exe with the -install option pointing to
> the appropriate installation for that user.
yes, but I would use -configuration... now, there are API to create your
own configuration. See IPlatformConfiguration. Check who uses them and you
will find how to use them.

> 'Not sure how this maps to the win NT/2k/XP case.
>
> Just a thought on a near term fix for Benoit's scenario.
>
> For the longer term, I think that Eclipse needs to gain some sense of
> user authentication (i.e. using JAAS) and profiled behavior to be used
> for developing some types of applications.
how do you feel about entering userid/password when launching eclipse ? In
the VisualAge time, people didn;t like it much. I suppose we can rely on
the userid/password they use to log on the machine. Then the -configuration
can point to a URL. The server side will then authenticate and return the
appropriate Stream... thoughts ?

> Mel
>



--
Christophe Elek
Eclipse Project
http://www.eclipse.org
Re: Plugin (or Feature) Activation and User Profile [message #16604 is a reply to message #15197] Fri, 28 March 2003 12:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ogruber.us.ibm.com

Salut Benoit and bienvenue!
No need to apologize for your english...
from another french guy of course... :-)

More seriously, this is an interesting line of thinking here regarding what
is
installed and what is enabled. Sounds to me that the core support
belongs to the platform.

I don't like relying on a -configuration for this... too error-prone
and basically no security control... also, how long before one user
can log as different roles? My guess not long... like in Unix
where I can "su" to someone else identity.

But it shouldn't be that hard to add to the platform the notion of
roles, controlled through passwords... based on which roles are
enabled, features are enabled or disabled... great usage of the
dynamic registry behavior.

Of course, one can argue this is more an administrative issue
and that an administrative plugin could load/unload features
based on active roles... This would require a permission
framework for controlling who can load/unload features.

But this seems to be quite costly... if the end users can switch
roles dynamically... loading/unloading features will not be a
light-weight process... but internally in the platform, we should be
able to "disable features" such as forbidding to create extensions...
and disable extension points... Hence, if the plugins in those features
go systematically through the registry to interact... everything is ok.
We can add also protocols to UI to revoke the extensions from
the disabled plugins... but without actually unloading the features...

Then, unloading becomes more an optimization than a requirement.

Best regards,

--
Olivier Gruber, Ph.D.
Persistent & Distributed Object Platforms and Frameworks
IBM TJ Watson Research Center

"Benoit Texier" <texierb@bigfoot.com> wrote in message
news:b5ipt7$d5t$1@rogue.oti.com...
> Hi,
>
> I really enjoy the coming out of the equinox project.
>
> I'm currently in charge of designing an end user trading application and I
> seriously investigate eclipse as the core plateform to do it (as i already
> intensively use it for developpement).
> But to really be suitable eclipse seems to lack few "features":
> - a strong dynamic plugin / component model
> I was glad to learn that you 're handling this issue.
> - a user login mechanism to activate a subset of deployed plugin based on
> the user profile:
> As an example we have roughly 200 users that can be grouped in 5
> differents profiles (sales, traders, middle office agents, back office
> agents, administrators,...)
> We want to deploy the same application to al of then (to ensure Look &
> Feel, Core features, transerval service are all the same) but we need a
> mechanism to activate feature on a user profile basis.
> Currently, at start up, eclipse activate the same subset of plugins
> for all users (since there's no user concept in the core runtime).
> - a way to silently upload, install, and activate plugins to use plateform
> update in a large business production environment.
> Currently, installing a new feature requires the user interaction.
>
> Do you think the two last would be issues of interest for the equinox
> project?
>
> If eclipse could provide such mechanisms it would probably become the most
> interesting framework for vertical business domain applications in the
java
> world.
>
> Best Regards.
>
> Benoit Texier
> Technical Architect.
> Societe General Investment Banking
> www.sigb.com
>
>
>
>
>
Re: Plugin (or Feature) Activation and User Profile [message #16674 is a reply to message #16556] Fri, 28 March 2003 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Christophe Elek wrote:
> Mel Martinez <melm@us.ibm.com> wrote in news:b5ntg3$9fk$1@rogue.oti.com:
>
>>I haven't tried it, but I'm wondering if the '-install' option could be
>>used to point different users to different installation feature sets?
>
> Yes, but you then bypass the confirguration. -install (if my memory serves
> me well) is used to point to a place where the platfom can find boot and
> other plugins. Where -configuration points to a file that contains all the
> info you need.
>

Good point.

> how do you feel about entering userid/password when launching eclipse ? In
> the VisualAge time, people didn;t like it much. I suppose we can rely on
> the userid/password they use to log on the machine. Then the -configuration
> can point to a URL. The server side will then authenticate and return the
> appropriate Stream... thoughts ?
>

I think that we need to support both models. One should be able to
build an application on eclipse that forces the user to login to the app
and one should also be able to just rely on the user's login to the OS
the app is running on. There are different cases where each model works
best. I think Notes lets you do either way, doesn't it?

Cheers,

mel
Re: Plugin (or Feature) Activation and User Profile [message #17512 is a reply to message #16674] Fri, 28 March 2003 21:56 Go to previous messageGo to next message
Eclipse UserFriend
Mel Martinez <melm@us.ibm.com> wrote in news:b6233o$5d4$1@rogue.oti.com:

> There are different cases where each model works
> best. I think Notes lets you do either way, doesn't it?
>

Correct. Good point.

--
Christophe Elek
Eclipse Project
http://www.eclipse.org
Re: Plugin (or Feature) Activation and User Profile [message #17579 is a reply to message #16539] Mon, 31 March 2003 03:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Peter.Kriens.aQute.se

Christophe Elek wrote:

> The scenario is that a big company has 200-250 developer and they do not
> want developer to install their own plugin. They want the plugins to come
> from an internal-central place

The key thing we discovered with OSGi is that it is virtually impossible
to establish a single policy regarding the installation. We therefore
developed an API that can be used by a dynamic plugin to define this
policy. This has worked very well in practice.

Kind regards,

Peter Kriens


>
>
>>However I think my need wasn't clearly explained (I'm sorry about my
>>poor english, but I 'm definitly a french guy )
>>
> me too :-) [Nantes]
>
>
>>In my usecase the activation of a subset of the available plugins must
>>done just after the user login time based on its role settings.
>>As Christopher perfectly pointed, it requires me to introduce a
>>concept of user, login and role within the runtime and a model
>>for role settings and permissions.
>>I wonder if such a think could be of any interest regarding the
>>initial purpose of eclipse (a general purpose ide).
>>To my views it could be usefull in the following situations:
>> - some remote control plugin on servers must be protected from
>>unattented or not permissionned use by a developper.
>>However we could always design the puglin in such a way that it
>>requires a login in its property page... (as for cvs plugin)
>>
>>So I'm not sure such "role based at login plugin
>>authorisation/activation" would be of interest in the runtime.
>>
> a resource(plugin/feature) policy framework Should work. If implemented
> deep in core no ?
>
>
>>As for the push feature update.
>>If you managed to upgrade the plugin model to support silent
>>desactivation/ Activation, we could start thinking about silent push
>>update in order to transparently upgrade the platform from a end user
>>point of view. This is a major concern of my favorite IT support team
>>:-).
>>
> can the OS update work ? What if the plugin are in a central location ?
> How do we know user (remote/disconnected) still have the feature enabled
> in their workspace when we delete it from the server ? to many questions
> :-)
>
>
>>I'll be back later, I've got some few line of bloody C++ to debug!
>>
>>Benoit.
>>Technical Architect
>>www.sgib.com
>>
>
Re: Plugin (or Feature) Activation and User Profile [message #18562 is a reply to message #17579] Tue, 01 April 2003 06:28 Go to previous messageGo to next message
Eclipse UserFriend
pkriens <Peter.Kriens@aQute.se> wrote in news:3E8802A3.6080900@aQute.se:

> We therefore
> developed an API that can be used by a dynamic plugin to define this
> policy. This has worked very well in practice.
>

You mean the policy is per plugin ? Can I, as an administrator, override it
?

--
Christophe Elek
Eclipse Project
http://www.eclipse.org
Re: Plugin (or Feature) Activation and User Profile [message #18569 is a reply to message #18562] Tue, 01 April 2003 08:58 Go to previous message
Eclipse UserFriend
Originally posted by: Peter.Kriens.aQute.se

Christophe Elek wrote:

> pkriens <Peter.Kriens@aQute.se> wrote in news:3E8802A3.6080900@aQute.se:
>>We therefore
>>developed an API that can be used by a dynamic plugin to define this
>>policy. This has worked very well in practice.
> You mean the policy is per plugin ? Can I, as an administrator, override it


No I meant to say that there is a dynamic plugin that defines the
overall eclipse management policies. In OSGi we call this the management
agent. One can write a GUI application that handles everything local or
one can write an agent that is controlled from a central manager.

Kind regards,

Peter Kriens
Previous Topic:New states for plugins
Next Topic:Plugins - singletons or not?
Goto Forum:
  


Current Time: Wed Jul 16 22:47:57 EDT 2025

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

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

Back to the top