Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2005, 09:09 AM
jme jme is offline
Registered User
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default SOAP authentication

Hello!

How do I implement authentication for SOAP requests?

I'm developing a web service which will be accessible for authorized clients only. I'm looking into the way of providing username&password in the org.apache.axis.MessageContext object, using MessageContext.setUsername() & setPassword().

I have tried a few ways. First, I tried to use a org.apache.axis.handlers.SimpleAuthenticationHandl er but, which actually was called everytime the web servcie was accessed but I didn't get it to stop the execution of the web service call.

Second, I tried to use a simple Filter that was called everytime a certain URL path was used but now the problem of obtaining the MessageContext object rised.

Anyone have a clue? :)

Yes, I'm using Apache Axis 1.2.1 and Tomcat 5.5.8 on Windows XP and Fedora Core Linux.

Thanks in advance...

jme






Similar Threads
Thread Thread Starter Forum Replies Last Post
What is SOAP why do we need it nidhimittal Pro PHP 1 October 23rd, 2006 03:28 AM
soap on C shiji4u XML 0 March 1st, 2006 04:59 AM
Using SOAP and C++ RussellThor Visual C++ 0 November 29th, 2005 09:06 PM
soap a.slaughter Pro PHP 0 March 22nd, 2005 10:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.