RE : RE : RE : RE : how to access Subject after authentification

2004-07-21 Thread LERBSCHER Jean-Pierre
ommon/-" { permission java.security.AllPermission; }; Any ideas ? Thanks in advance! -Message d'origine- De : Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 juillet 2004 19:52 À : Tomcat Users List Objet : Re: RE : RE : RE : how to access Subject after a

Re: RE : RE : RE : how to access Subject after authentification

2004-07-20 Thread Jeanfrancois Arcand
rcand [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 juillet 2004 18:42 À : Tomcat Users List Objet : Re: RE : RE : how to access Subject after authentification Are you both running with the security manager on? I think that's the problem... -- Jeanfrancois LERBSCHER Jean-Pierre wrote: Matt I

RE : RE : RE : how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
L PROTECTED] >Envoyé : mardi 20 juillet 2004 17:42 >À : 'Tomcat Users List' >Objet : RE: RE : how to access Subject after authentification > >I have tried both of these and they both return null! > > > >>-Original Message- >>From: Jeanfrancois

Re: RE : RE : how to access Subject after authentification

2004-07-20 Thread Jeanfrancois Arcand
ist' Objet : RE: RE : how to access Subject after authentification I have tried both of these and they both return null! -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] Sent: 20 July 2004 16:30 To: Tomcat Users List Subject: Re: RE : how to access Subject after

RE : RE : how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
(java.security.AccessController.getContext()); -Message d'origine- De : Matt Harrison [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 juillet 2004 17:42 À : 'Tomcat Users List' Objet : RE: RE : how to access Subject after authentification I have tried both of these and they both return null!

RE: RE : how to access Subject after authentification

2004-07-20 Thread Matt Harrison
I have tried both of these and they both return null! > -Original Message- > From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] > Sent: 20 July 2004 16:30 > To: Tomcat Users List > Subject: Re: RE : how to access Subject after authentification &

Re: RE : how to access Subject after authentification

2004-07-20 Thread Jeanfrancois Arcand
Two ways: httpSession.getAttribute("javax.security.auth.subject") or Subject.getSubject(AccessControl.getContext()) -- Jeanfrancois Matt Harrison wrote: Sorry for mis-reading your email If anybody out there knows how to retrieve the Subject, Jean-Pierre and I would most appreciate it! But, if, as I

RE: RE : how to access Subject after authentification

2004-07-20 Thread Matt Harrison
Sorry for mis-reading your email If anybody out there knows how to retrieve the Subject, Jean-Pierre and I would most appreciate it! But, if, as I suspect, this is not part of the current servlet spec, and thus not part of Tomcat, can I make a request for this to be included next time round? I w