Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Accesing Spring based server with security credentials (ACEGI)
Accesing Spring based server with security credentials (ACEGI) [message #448129] Tue, 18 April 2006 18:24 Go to next message
Eclipse UserFriend
Originally posted by: jsilva.inf.utfsm.cl

The Spring Rich Client implements a method for keep, in a thread local,
the credentials of a user autenticated with ACEGI in the server...

Is simply to do that with Eclipse RCP?

I use the Eclipse RCP 3.1.2 and i want to do the same , keep a
threadlocal with the credetinals of the current user for accesing the
httpinvoker exposed services.

Before look at the Spring Rich Client code and implement it, i ask if
anybody knows some similar (i don't want re-invent the weel).

Thank in advance

Toño.
www.jcode.cl
Re: Accesing Spring based server with security credentials (ACEGI) [message #448512 is a reply to message #448129] Tue, 25 April 2006 15:03 Go to previous messageGo to next message
Davor Cengija is currently offline Davor CengijaFriend
Messages: 4
Registered: July 2009
Junior Member
Jose Antonio Silva Portell wrote:

> The Spring Rich Client implements a method for keep, in a thread local,
> the credentials of a user autenticated with ACEGI in the server...
>
> Is simply to do that with Eclipse RCP?
>
> I use the Eclipse RCP 3.1.2 and i want to do the same , keep a
> threadlocal with the credetinals of the current user for accesing the
> httpinvoker exposed services.
>
> Before look at the Spring Rich Client code and implement it, i ask if
> anybody knows some similar (i don't want re-invent the weel).

Hi,

Not of much help here, but I wander if you discovered anything useful in
this regard?

Cheers,
Davor
Re: Accesing Spring based server with security credentials (ACEGI) [message #448514 is a reply to message #448129] Tue, 25 April 2006 15:50 Go to previous message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
Jose,

You can do the authentication in the IPlatformRunnable before the
Workbench opens, but the problem with putting the credentials into a
thread local is that Eclipse is multi-threaded! Unless you could arrange
that all access to the httpinvoker is from the same thread, you're going
to have a problem if you use the Jobs API (for example). Perhaps you could
implement something similar to UIJob, which keeps all UI access on the
event dispatcher thread?

Also, although I don't know anything about Acegi, if it is JAAS-based then
take a look at EclipseJAAS (http://sf.net/projects/eclipse-jaas)

Regards
Neil



Jose Antonio Silva Portell wrote:

> The Spring Rich Client implements a method for keep, in a thread local,
> the credentials of a user autenticated with ACEGI in the server...

> Is simply to do that with Eclipse RCP?

> I use the Eclipse RCP 3.1.2 and i want to do the same , keep a
> threadlocal with the credetinals of the current user for accesing the
> httpinvoker exposed services.

> Before look at the Spring Rich Client code and implement it, i ask if
> anybody knows some similar (i don't want re-invent the weel).

> Thank in advance

> Toño.
> www.jcode.cl
Previous Topic:rcp without perspectives and views
Next Topic:Coolbar with other hoverstyle
Goto Forum:
  


Current Time: Wed Dec 04 06:35:29 GMT 2024

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

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

Back to the top