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...