Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems propagating UPprincipal OUT of an EJB container

1 view
Skip to first unread message

Peter Kalab

unread,
Sep 21, 2001, 5:28:50 PM9/21/01
to
We are having problems passing a UPprincipal out of an EJB container to a Java
application. This is the basic configuration:

Java client:
- setUPprincipal("user1", "user1")
|
|
EJB container:
- context.getCallerPrincipal returns "user1"
- perform remote method call to Java application
|
|
Java application:
- current.getDelegatedPrincipal.getName() returns "Guest"

NOTE: we do NOT have Borland Security Service installed.

The questions are:
1) should this configuration work as described with a bare EJB container without
the Borland Security Service (i.e. is the problem in our code)?
2) does the EJB need to perform explicit delegation of the UP Principal in order
for the Java application to receive the user's identity?
3) do we need to install Borland Security Service for this delegation to occur
automatically?

Thanks,
Peter

0 new messages