In a standalone java client I'm accessing an EJB through The bean class isUnfortunately the printed principal is "ANONYMOUS" instead of "user". How can I manage to progagate the client's security settings to the EJB ? [ August 16, 2008: Message edited by: Ralph Jaus ]
I could figure it out: Specifying principal and credentials in the initial context doesn't work in general (it works with some vendor specific naming factories). In order to authenticate at the EJB the client has to do a JAAS login (using for example ProgrammaticLogin, if glassfish is app server).
SCJP 5 (98%) - SCBCD 5 (98%)
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
a bit of art, as a gift, the permaculture playing cards