Hi Paul, So can I implement this model using the Policy based config model for Rampart? I can't seem to get it working otherwise as I mentioned earlier as the client can't find the PWHandlerClient class. Thanks again.
Regards Sanjay >-----Original Message----- >From: Paul Fremantle [mailto:[EMAIL PROTECTED] >Sent: 14 January 2008 13:25 >To: [email protected] >Subject: Re: Keeping the Password Callback Handler classes separate. > >Sanjay > >Firstly, as of the latest version of Axis2 you no longer need >to use the callback in the client. You can simply call >stub._getServiceClient.setUserName()/setPassword() > >Secondly, you can merge the two pieces of code into a single >callback handler but it doesn't make sense. I think you are >doing pretty much the right thing in having two classes and >different configs for client and service. > >Paul
