users@glassfish.java.net

GF to GF straight EJB invocation over IIOP fails on security

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Dec 2008 13:04:52 PST

I am trying to inject an EJB from a remote glassfish server into an EJB component on my local GF server using an external JNDI link (with @Resource)

Security manager is off on both servers
 
Security at the IIOP orb listener level is set to false on both servers
 
even though all of the settings say NOT to enforce security I still get the error
 
IOP5041: Principal propagation: Cannot find principal information in subject
 
and according to the GF error documentation GF is trying to extract the principal from the authentication subject of the calling client
 
for which they suggest that the caller propagates the authentication token with the iiop invocation request
(documentation for doing so for IIOP invocations appears to be scarce, and why i would need to do so when security is supposedly off is suspect)
 
I get the same behavior using two GF instances SAS 9.1_02 build b04-fcs on windows and
using two GF instances SAS 9.1_02 on solaris

can anybody help me as to why the server is looking for the principal when security is off?
[Message sent by forum member 'amalyc' (amalyc)]

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