Re: HTTPS Authentication

From: Bernardo Diaz Arias <bdiaz_at_SHD.GOV.CO>
Date: Tue, 11 Mar 2003 07:19:50 -0500


I hope this could be useful,

Bernardo D?az

 -----Mensaje original-----
De: Risto Reinp?ld [mailto:Risto.Reinpold_at_MICROLINK.EE]
Enviado el: Martes 11 de Marzo de 2003 06:55 AM
Asunto: HTTPS Authentication

Hello All,

I want to use HTTPS Client authentication, but I have no idea how can I
obtain client's certificate at the servlet endpoint. The Web container
stores certificates in ServletRequest with attribute
"javax.servlet.request.X509Certificate", but ServletEndpointContext does not
have methods to access the ServletRequest object. I could obtain the
ServletRequest object by casting ServletEndpointContext to
com.sun.xml.rpc.server.http.ServletEndpointContextImpl, but I do not want
tie my code to one implementation. Does anybody have a better solution to
this problem?


Risto Reinp?ld