Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » [framework] How to use eclipse as an application framework
[framework] How to use eclipse as an application framework [message #39213] Tue, 24 December 2002 03:05 Go to next message
Niciyou Dan is currently offline Niciyou DanFriend
Messages: 13
Registered: July 2009
Junior Member
Now I am using eclipse as an application framework to developing a
client application. So I must have a client side architecture, which
provides the common client infrastucure like: logging, authentication,
authorization etc.
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.
I will appreciate who can give me some suggest or information about it?
Re: [framework] How to use eclipse as an application framework [message #39336 is a reply to message #39213] Tue, 24 December 2002 14:59 Go to previous message
Eclipse UserFriend
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
Re: [framework] How to use eclipse as an application framework [message #587942 is a reply to message #39213] Tue, 24 December 2002 14:59 Go to previous message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
"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
Previous Topic:JDO integration (Please comment)
Next Topic:[framework] use eclipse for own application
Goto Forum:
  


Current Time: Thu Apr 25 18:57:01 GMT 2024

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

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

Back to the top