Is it possible to use multiple InitialContext objects within a single
application?  What I would like to be able to do is have a middleware
application that can receive messages (xml files, TIBCO messaging, SOAP
requests) and instansiate and execute beans on behalf of the person sending
the message.  I need to be executing within their security context however,
so my thought was to create an InitialContext for each of the clients using
the credentials they supply, and store that in a Hashtable to be reused the
next time they make a request.  I think I had read somewhere on this list
that you can only have one InitialContext per process, and that seems to be
my experience on the JSP side, but I did not know if a standalone
application had the same restriction.
        If that is a restriction, is it Orion specific or is this the way it
is meant to be?

Reply via email to