I am not sure what your exact situation here is, but the user certificate
stuff is only available if Tomcat requests it.  And Tomcat only does this if
Tomcat is using certificate based SSL authentication.  I don't believe this
will work if an Apache webserver is handling the SSL negotiation.

Mark
 
-----Original Message-----
From: shahab [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 9:42 AM
To: users@tomcat.apache.org
Subject: how to populate userPrincipal in request object


Hi:

Would you please let me know how can I set the userPrincipal in request
Object. 
I am setting the Principal and roles in Subject (2 Principal object
according to JAAS implementation).

When i run the code in debugger, I see the Subject in "reuqest" null, also
userPrincipal is null. Also, instead of role map in "request", its updating
security map.

Thanx
--
View this message in context:
http://www.nabble.com/how-to-populate-userPrincipal-in-request-object-tf3914
736.html#a11099625
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to