Hi jBoss,
Keith L. Musser wrote:
KLM> For my application, my beans need to know who the end-user is. When I
KLM> call the "getCallerPrincipal()" method in the SessionContext or
KLM> EntityContext, I receive "null".
KLM> Does jBoss propagate the caller principal per the EJB spec?
Yes.
KLM> If so, how can my client set it initially?
The simplest way: call
org.jboss.system.SecurityAssociation.setPrincipal()
on client.
Other way: use JAAS, see
http://www.mail-archive.com/[email protected]/msg04170.html
Sorry, the documentation on this topic is not ready yet.
Best regards,
Oleg
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]