Re: Filter Init order

2008-11-13 Thread Arash Bizhan zadeh
On Thu, Nov 13, 2008 at 10:35 AM, [EMAIL PROTECTED] wrote: Is there a guaranteed way to specify the order that filters get initialized? Running Tomcat 6.0.14 (on windows right now for testing) I have also used servlet 2.3 and 2.5 declarations in web.xml I have 5 filters defined. - 2 are

Get Security subject from Tomcat

2008-11-12 Thread Arash Bizhan zadeh
Hi, Is there is was I can get the authenticated User from inside my servlet/filter? IT seems none of the assumed ways work : getSession().getAttribute(Globals.SUBJECT_ATTR); Subject.getSubject(AccessController.getContext()); Please reply directly, I am not subscribed. -thanks, -arash -- The

Re: Get Security subject from Tomcat

2008-11-12 Thread Arash Bizhan zadeh
On Wed, Nov 12, 2008 at 4:06 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED] Subject: Get Security subject from Tomcat Is there is was I can get the authenticated User from inside my servlet/filter? Perhaps reading the Servlet spec

Re: Get Security subject from Tomcat

2008-11-12 Thread Arash Bizhan zadeh
On Wed, Nov 12, 2008 at 5:34 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arash, Arash Bizhan zadeh wrote: Sure [reading the servlet API] might help. Reading my mail would have helped too. I need the Subject not the principal. Ouch