users@glassfish.java.net

Re: Possible to include HTTP header information as part of RMI-IIOP?

From: <glassfish_at_javadesktop.org>
Date: Wed, 04 Jun 2008 09:40:30 PDT

> "All current EE containers are required to support
> identity propagation on ejb invocations originating
> in a web container. It sounds like you would like to
> propagate additional identity attributes."

I think it will be difficult to come up with a solution that will
work it all containers. I think doing so will require that you write
some container specific glue code.

do you require a portable solution?

> Q: I am interested in propagating a "CWP session id"
> (a String of decent size) on ejb invocations
> originating in a web container. Is this "CWP session
> id" something you would consider an additional
> identity attribute ? OR it is something can be
> included as part of the identity propagation
> supported by all current EE containers ?
>

I think the answer to both of your questions is yes, but on the second, although I think it could be included in the propagated identity, I don't think it will be easy to extend ejb containers such that they recognize and dereference the session id...so the practical answer to the second is no (imo).

Ron

Ron
> Thanks,
> Ming
[Message sent by forum member 'monzillo' (monzillo)]

http://forums.java.net/jive/thread.jspa?messageID=278295