Hi,

 

I'm trying to migrate security from Axis2 1.0 / Rampart 1.0 to Axis2
1.1/Rampart1.1.

 

I used to use the following construction to hand a reference to a
PWCallBack-class to Rampart:

 

client.getOptions().setProperty("passwordCallbackRef",

                                    new PasswordCallback(password));

 

This was, I think, undocumented, but I found this out browsing the
sourcecode.

Unfortunately the RampartConfig-class only allows you to set a classname
(and this is required, according to the XMLSchema), not an instance.

 

Can I still use this way, is there another way around, or should I think
of another way of handing the password to the callback?

 

Thanks,

Brecht

Reply via email to