method is
Subject.getSubject(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
Hi
I had a similar question a while back and never really got it fully
resolved, but I found that Tomcat doesn't save the subject as a session
attribute.
However in your case you don't need to access the subject. In the web.xml
file for your app, you can define what roles have access to each
the weblogic api to propagate
the security
information from tomcat to WLS. This api uses the subject! Thus it is
necessary that I can reach it.
-Message d'origine-
De : Matt Harrison [mailto:[EMAIL PROTECTED]
Envoyé : mardi 20 juillet 2004 15:59
À : 'Tomcat Users List'
Objet
(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 suspect
Thanks for your reply Jeanfrancois, but I need more help !!
- I know from the Javadocs the syntax for getting a subject from a login
context, and the login context from an Access controller, but how do you
access the particular login context and/or access controller for a logon.
-also I
Hi
I've implemented a JAAS Realm authentication module for my servlet/JSP
web-app which is working a treat.
Can anybody tell me how to access in my servlets the
javax.security.auth.Subject object generated at login?
This fronts an existing application and I would like to store the
user-specific