|
Re: [framework] How to use eclipse as an application framework [message #39336 is a reply to message #39213] |
Tue, 24 December 2002 14:59 |
Eclipse User |
|
|
|
Originally posted by: ted.stockwell.acxiom.com
"Niciyou" <niciyou@sina.com> wrote in message
news:au8i0p$s8a$1@rogue.oti.com...
>
> I will appreciate who can give me some suggest or information about
it?
>
I have noticed that the org.eclipse.core.runtime.Platform class the
following methods on it...
addAuthorizationInfo
getAuthorizationInfo
flushAuthorizationInfo
....which seem like they might be related to some authorization mechanism,
but I haven't investigated them.
---------------------------------
>
> I think I can implement authorization by extending the Action framework
> of eclipse. Every action will be associated with a configuration file
which
> describe the information about privilege. The extended Action framework
will
> check the privilege of user to decide whether he can perform this action,
> the menu or toolbar is enable.
>
That seems like the start of a good idea to me. Kinda like declarative
security in J2EE.
The security mechanism should also extend to views, editors, and
perspectives.
The security mechanism should also have a public API for getting
authorization info so that other plugins can propagate this info to remote
web services and such.
-----------------------------------
Please keep us informed of your progess. I for one am interested in such a
security mechanism and will help develop it if I can.
-ted stockwell
jlense.sf.net
|
|
|
|
Powered by
FUDForum. Page generated in 0.02816 seconds