>Date: Tue, 29 Aug 2000 17:58:05 +0200
>From: [EMAIL PROTECTED] (Philippe Chataigner)
>To: [EMAIL PROTECTED]
>Subject: Jrun and client authentification
>Message-ID: <[EMAIL PROTECTED]
>Hi,
>
>I would like to read a client certificate with a servlet.
>
>How can i do this.
>
>Im using IIS5 and Jrun3.0
Unfortunately, it is impossible to get the user's certificate with JRun
(or any other servlet engine). In its wisdom, MS has decided to flaunt
the specs. So, what they do instead is to extract the certificate
contents and put them in as environment variables that you can get in
your servlet. (But, JRun does not list them when you run thru the
environment varirables enumeration; they are there however.) You can get
a list using this perl file.
Dumpenv.pl:
print "Content-type: text/plain\r\n\r\n";
foreach $key ( keys( %ENV ) )
{
print "${key} = ", $ENV{ $key }, "\n";
}
Unfortunately, conspicuously absent is the user's public key.
--
James A. Rome
Lockheed Martin Energy Systems
Center for Information Infrastructure Technology
E-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.