Hi Naresh,

I think you might want to use WSPasswordCallback.USERNAME_TOKEN usage code for
PasswordDigest.

You may find following email thread useful:

http://old.nabble.com/PasswordDigest-and-PasswordText-difference-td24475866.html

I am not cxf developer, probably cxf people can tell you exact solution.

Many Thanks,
rahul


On Thu, Apr 15, 2010 at 12:22 AM, Naresh Tallapelli <
[email protected]> wrote:

> Hi All,
>
> I am using cxf 2.1.2 version. I tried to implement ws security. I  have
> created passowrd call backs on both client and server sides. COnfigured
> password type to "PasswordText". Then i was to able to get the password on
> web services server side.
>
> But when i use password type to "PasswordDigest", password was sent to the
> server in enrypted format. But when i call
> "WSPasswordCallback.getPassword()" i am getting value as null.  I am not
> sure if i miss anything.
>
> Please help to resolve this issue. I need to send the password in encrypted
> way.
>
> Thank you,
> Naresh.
>

Reply via email to