1) Why do I have to put an axis2.xml in the repo path when I am trying to use
policy.xml? Do I have to define both even if I just want to use policy.xml
instead?

2) If I have to provide both (axis2.xml and policy.xml) to make
Axis2(1.4)+Rampart1.4 work for policy, where is the place I should specify
my password callback class? In both places as well?

axis2.xml
<axisconfig name="AxisJava2.0">
    <module ref="rampart" />
    
    <parameter name="OutflowSecurity">
        <action>
            <items>UsernameToken Timestamp</items>
            <user>xyz</user>
           
<passwordCallbackClass>ws.security.PWHandlerClient</passwordCallbackClass>
        </action>
    </parameter>

policy.xml
                <ramp:RampartConfig 
xmlns:ramp="http://ws.apache.org/rampart/policy";> 
                        <ramp:user>xyz</ramp:user>
                
<ramp:passwordCallbackClass>ws.security.PWCBHandler</ramp:passwordCallbackClass>
                </ramp:RampartConfig>

-- 
View this message in context: 
http://www.nabble.com/Axis2%281.4%29-%2B-Rampart-1.4-throws-exception-tp17877253p18011293.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to