You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Arnaud Vezain <a....@nancy.fnclcc.fr> on 2004/07/06 19:06:43 UTC
Basic Authentication
Hi !
I am writing an axis web service which use apache wss4j.
I am planning to make a basic message-level authentication system using
ws-security usernametoken with clear password (definitely the simplest way).
My problem is that I can't write neither my client nor my server code as I
can't find any clear example. I found some clues in the
org.apache.ws.axis.security javadoc but I can't understand that there is a
deployment descriptor for the client side ! What does It meen ?
My client side is a simple standalone java app with generated stubs
(wsdl2java) !
I was also unable to understand how to set-up the handler on the server
side and where to put my little piece of authentication code (it checks
login/password with a database).
Am I on a wrong way ?
Could you please provide me the source code of a client and server exemple
or snippets of it ? It's important to me and can help many others.
Thanks.