Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 91405 invoked from network); 4 Dec 2001 15:17:28 -0000 Received: from e21.nc.us.ibm.com (32.97.136.227) by daedalus.apache.org with SMTP; 4 Dec 2001 15:17:28 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id JAA85922 for ; Tue, 4 Dec 2001 09:14:09 -0600 Received: from d04nm204.raleigh.ibm.com (d04nm204.raleigh.ibm.com [9.67.228.13]) by southrelay02.raleigh.ibm.com (8.11.1m3/NCO v5.01) with ESMTP id fB4FHMp66238 for ; Tue, 4 Dec 2001 10:17:22 -0500 Importance: Normal Subject: Re: HTTP Authentication in Axis To: axis-user@xml.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Doug Davis" Date: Tue, 4 Dec 2001 10:17:21 -0500 X-MIMETrack: Serialize by Router on D04NM204/04/M/IBM(Release 5.0.8 |June 18, 2001) at 12/04/2001 10:17:22 AM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N We have the same hack. :-) Instead of SOAPContext its MessageContext. You could of course write an auth. handler that sits in the transport chain. -Dug "Mark A. Richman" on 12/04/2001 10:11:43 AM Please respond to axis-user@xml.apache.org To: cc: Subject: HTTP Authentication in Axis Greetings all... I plan to update the chapter samples from my book Professional XML Web= Services with Axis-based code rather than the SOAP 2.x code. Much of m= y code handles authentication & authorization via HTTP header info (see = Chap 14 on my website). What is the best way to get the authenticated user'= s username (or any other header info) from within the service implementa= tion using Axis? With SOAP 2.x I had to prepend a SOAPContext variable to t= he parameter list, so the service would gain access to the headers. How ha= s this changed in Axis? I always saw the SOAPContext parameter as a more = of a hack than a usable mechanism. Regards, Mark A. Richman http://www.markrichman.com =