Tremal Naik wrote:
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>:
Yes. Servlet spec 2.4

Thank you very much. Persons like you make me loosing faith in the
Open Source. I think I'll call the guys at IBM...


Go and troll somewhere else.

I told you that JBoss uses thread local storage.
1. Request comes in.
2. According to the Servlet spec the request is
   parsed and user determined.
3. It is added to the thread local.
4. getPrincipal() ... return (Principal) threadPrincipal.get();

So it does all that for you. Without J2EE container,
you'll need to use the the Servlet spec.



--
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to