Is it true that using JNDI you will never get a reurn value from session context's getCallerPrincipal(), other than UNAUTHENTICATED? and you MUST use JAAS?
I followed instructions in Websphere Security handbook (WAS 5.0) but always get UNAUTHENTICATED when I try to getCallerPrincipal(), I am at my wit's end.
If it is stated explicitly in some Websphere documentation that with JNDI lookup, you will never succeed in getting caller principal, I will give up without wasting any more time.
Thanks.