Re: how to populate userPrincipal in request object

2007-06-13 Thread Bill Barker
"shahab" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi: > > I am trying to find out how to poulate the userPrincipal from > HttpServletRequest. > > I have the following code to retrieve the principal - > HttpServletRequest request = ServletActionContext.getRequest(); > Princi

Re: how to populate userPrincipal in request object

2007-06-13 Thread shahab
Hi: I am trying to find out how to poulate the userPrincipal from HttpServletRequest. I have the following code to retrieve the principal - HttpServletRequest request = ServletActionContext.getRequest(); Principalprincipal = request.getUserPrincipal(); // get a Principal object My qn is to how

RE: how to populate userPrincipal in request object

2007-06-13 Thread Mark Claassen
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