Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Security in eclipse RCP application
Security in eclipse RCP application [message #496506] Tue, 10 November 2009 11:31 Go to next message
Andre Kullmann is currently offline Andre Kullmann
Messages: 33
Registered: September 2009
Member
Hi,

I'm looking for an framework/ library/ solution to check user permissions in an rcp application. Enable/ disable views or constrols if the user has an permission or not. I found equinox security, but this is jaas based and does't support enable/disable of views.
Has someone an idea, how to build an security 'framework' for an eclipse rcp application ?

Thanks,
André
Re: Security in eclipse RCP application [message #497717 is a reply to message #496506] Fri, 13 November 2009 11:27 Go to previous messageGo to next message
Andre Kullmann is currently offline Andre Kullmann
Messages: 33
Registered: September 2009
Member
Does nobody knows how to realize an security concept in an eclipse application ?
Re: Security in eclipse RCP application [message #497978 is a reply to message #497717] Fri, 13 November 2009 15:34 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=201052

There is some support in the form of core expression enabled activities, but it is by no means comprehensive. You'll have to implement all of the wiring to get the behaviour you would like yourself.

That bug is wrong, but it contains all of the information currently available.

PW


Re: Security in eclipse RCP application [message #497979 is a reply to message #497978] Fri, 13 November 2009 15:35 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It should be "That bug is long ..." not wrong! Smile

PW


Re: Security in eclipse RCP application [message #498187 is a reply to message #497979] Sun, 15 November 2009 17:32 Go to previous messageGo to next message
Andre Kullmann is currently offline Andre Kullmann
Messages: 33
Registered: September 2009
Member
Thank you for this information !!

The org.eclipse.ui.activities api look interessting.

André
Re: Security in eclipse RCP application [message #500308 is a reply to message #498187] Wed, 25 November 2009 15:59 Go to previous messageGo to next message
Svilen Genchev is currently offline Svilen Genchev
Messages: 8
Registered: November 2009
Junior Member
Here are some nice examples and docs:
http://www.bredex.de/en/rcp-auth/paper.html
Re: Security in eclipse RCP application [message #526068 is a reply to message #497717] Thu, 08 April 2010 15:44 Go to previous message
Mark Hoffmann is currently offline Mark Hoffmann
Messages: 102
Registered: July 2009
Location: Jena
Senior Member
Hi Andre,

I use equinox security using JAAS for authentication. After that I created a SourceProvider for enablement. To hide a view u can use activities. Activity extension points also support the expressions framework, so you can use the source provider again.

Regards,
Mark
Previous Topic:EJB Remote Invocation Problem
Next Topic:Common Navigator, TextEditor and IMarkers
Goto Forum:
  


Current Time: Thu Oct 23 08:57:45 GMT 2014

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

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