Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 78803 invoked from network); 14 May 2009 01:51:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 01:51:18 -0000 Received: (qmail 90831 invoked by uid 500); 14 May 2009 01:51:16 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 90781 invoked by uid 500); 14 May 2009 01:51:16 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 90772 invoked by uid 99); 14 May 2009 01:51:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 01:51:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [202.83.64.93] (HELO mail.iseek.com.au) (202.83.64.93) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 01:51:05 +0000 Received: from exchange2.intranet.iseek.com.au (exchange2.intranet.iseek.com.au [202.83.64.139]) by mail.iseek.com.au (Postfix) with ESMTP id 84D2E3B54156 for ; Thu, 14 May 2009 11:50:42 +1000 (EST) Received: from exchange2.intranet.iseek.com.au ([202.83.64.139]) by exchange2.intranet.iseek.com.au ([202.83.64.139]) with mapi; Thu, 14 May 2009 11:50:42 +1000 From: David Meiklejohn To: "'axis-user@ws.apache.org'" Date: Thu, 14 May 2009 11:50:41 +1000 Subject: [Axis2] Retrieve client certificate info used in connection to web service Thread-Topic: [Axis2] Retrieve client certificate info used in connection to web service Thread-Index: AcnUNmNvijG2GIdzR+OBxAE55t2YZg== Message-ID: <9DC1FE964F4FB644AAA1F749EE21103F99A6B6A04B@exchange2.intranet.iseek.com.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am attempting to figure out if it is possible to retrieve certificate inf= ormation that was sent by the client as part of a web service request. The = catch is it isn't using WS Security, it is simply HTTP authentication with = the certificate. What I am trying to achieve is basically this: A client sends a request to a web service with their certificate as part of= the request. The server verifies that it trusts the certificate. The web service uses the certificate information to figure out who the clie= nt is and then send that client ID information down the line to other syste= ms. I was able to find some information on using MessageContext to get the Http= ServletRequest which then you are supposed to be able to get the certificat= e used by calling getAttribute on the request. However, I couldn't find any= information on doing this in Axis2. This solution will likely be deployed in JBoss but it could potentially end= up in Tomcat. Is it possible to do what I am attempting to do with Axis2? = Or should I be looking for another solution to achieve this? Is there any s= oftware that will provide functionality similar to what I am after? Any help will be greatly appreciated. Regards, David