This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
I don't know why but I have some problems with calling getCallerPrincipal() method from a Session Bean. It appears this message 'No valid security context for the caller identity' when I invoke getCallerPrincipal() in a EJB method from my client application.
I send credentials and principals when I create the initial context in client application: