"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
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
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