users@glassfish.java.net

How to access client X509 certificate received during SSL handshake

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Sep 2008 13:25:41 PDT

I need to access public key (or access to entire X509 certificate) of the person who has has been authenticated by certificate. I need to use the public key later in the session to verify the signature on the submitted documents by the same user on the document submissions page.
is it possible? pls help.

from my cert login servlet i tried to access request.getUserPrincipal but it only fetches me the subject DN.

Thanks
[Message sent by forum member 'anusheel' (anusheel)]

http://forums.java.net/jive/thread.jspa?messageID=300455