To avoid this situation, I add 

         <ramp:RampartConfig
xmlns:ramp="http://ws.apache.org/rampart/policy";>
                <ramp:user>client</ramp:user>
                
<ramp:passwordCallbackClass>calc.PWCBHandlerC</ramp:passwordCallbackClass>
          </ramp:RampartConfig>

in  http://old.nabble.com/file/p29356439/PWCBHandlerC.java PWCBHandlerC.java 
i set the password!

In this situation the username is in the policy which is copied correctly!

this is enough to make the example!

But i had another problem:
I was using axiom 1.2.8 which has a bug in removeChild, fixed in the 1.2.9
release!

Here are all the src  http://old.nabble.com/file/p29356439/calc.rar calc.rar 
-- 
View this message in context: 
http://old.nabble.com/Sandesha2-1.5RC-%2B-rampart-1.5-tp29334444p29356439.html
Sent from the Apache Sandesha mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to