Is there a way in Eclipse ecosystem to manage access permissions to resources?
I need something like Linux filesystem permissions to allow/deny access to data in my Eclipse RCP application. Ie:
User and group management
Login management
Read-write permission management for my resources (ie for my db records)
EMF based (it's not mandatory but very useful)
I can develop all from scratch but I think it's a common need, so I suppose there is also something done.
Or am I wrong?
Thanks.
Edit: Subject fixed. Sorry
I am not aware of a one-size-fits-all solution for authorization, authentication, and data security in Eclipse, but there are various way you can build your own.
There is a lengthy discussion about the different ways to implement role based access control for UI Elements with Eclipse RCP in the Eclipse Bugzilla . This article is one example for how you can use Eclipse extension points to handle authorization.
What's the best way for authentication with a login dialog depends on your Eclipse Version. Here is a sophisticated way to build styled login dialogs in Eclipse e4.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.