Hi,

I'm trying to use a WS Policy file with Rampart. If I wish to enable
basic authentication for outflow, the RampartConfig section of the
ws-policy will look like this:

<?xml version="1.0" encoding="UTF-8"?>
<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
    <wsp:ExactlyOne>
        <wsp:All>
            <ramp:RampartConfig
        
xmlns:ramp="http://ws.apache.org/rampart/policy";>
                <ramp:user>alice</ramp:user>
<ramp:passwordCallbackClass>InboundPWCallbackHandler
                        </ramp:passwordCallbackClass>
            </ramp:RampartConfig>
        </wsp:All>
    </wsp:ExactlyOne>
</wsp:Policy>


My question is, suppose I wish to specify a user for basic
authentication Inflow. How do I differentiate between usernames for
basic authentication in both directions (inflow and outflow)?
There is only one ramp:user element.

Thanks.
Andrew.


Reply via email to