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
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
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
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
(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!
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
&
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
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