Propagation of user id [message #607491] |
Thu, 10 August 2006 04:55  |
Eclipse User |
|
|
|
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 07:27  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02889 seconds