Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » Propagation of user id
Propagation of user id [message #607491] Thu, 10 August 2006 08:55 Go to next message
Jaap Reitsma is currently offline Jaap ReitsmaFriend
Messages: 69
Registered: July 2009
Member
Hi,

We use a dedicated ECF client container to execute service requests that
require an authenticated caller. I've already found the IConnectPolicy by
which I can verify user credentials at the ecf server.

Given the remoteID what would be the best way to obtain the user id? Is
there some form of session? Currently our service dispatcher is running in
the same JVM as the ecf server so I can setup some form of session by
creating a map between GUID and user id (the join data) from the
IConnectPolicy.

Another possibility is to make the user credentials part of the shared
object. That means that each shared object needs be configured to hold the
user credentials. Although feasible it does not feel right. The container
should have this information.

What is the best place to insert the user id and get it available at the
container that is receiving the message?

Kind regards,

Jaap
Re: Propagation of user id [message #607497 is a reply to message #607491] Sat, 19 August 2006 11:27 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Jaap,

Jaap Reitsma wrote:
> Hi,
>
> We use a dedicated ECF client container to execute service requests that
> require an authenticated caller. I've already found the IConnectPolicy by
> which I can verify user credentials at the ecf server.
>
> Given the remoteID what would be the best way to obtain the user id? Is
> there some form of session? Currently our service dispatcher is running in
> the same JVM as the ecf server so I can setup some form of session by
> creating a map between GUID and user id (the join data) from the
> IConnectPolicy.
>
> Another possibility is to make the user credentials part of the shared
> object. That means that each shared object needs be configured to hold the
> user credentials. Although feasible it does not feel right. The container
> should have this information.
>
> What is the best place to insert the user id and get it available at the
> container that is receiving the message?

Sorry about the slow response. ECF hasn't really dealt with this
question, in deference to the work that is going on with the Higgins
project http://www.eclipse.org/higgins

But I think that ultimately what should be done is what you outline
first...i.e. design/define some adapter interfaces for getting user id
off of container (session) and then going with that.

I've got to run now, but I would like to continue this discussion as
it's an another area (user identity/authentication) that we can make
progress on.

Thanks,

Scott


>
> Kind regards,
>
> Jaap
>
>
Previous Topic:Query adapters without creating a container?
Next Topic:Installation confusing for newbie
Goto Forum:
  


Current Time: Fri Apr 26 23:37:18 GMT 2024

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

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

Back to the top