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