axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Woo" <daniel.y....@gmail.com>
Subject Axis2 with rampart sample, username hardcoded
Date Mon, 24 Mar 2008 08:34:35 GMT
Hi,

I tried to use axis2 with rampart for UsernameToken authentication. The
problem is that all the samples just hardcoded the username in axis2.xml,
eg:

    <parameter name="OutflowSecurity">
        <action>
            <items>UsernameToken</items>
            <user>bob</user>
            <passwordCallbackClass>test1.security.PWCBClientHandler
</passwordCallbackClass>
          </action>
    </parameter>

How can I get rid of the <user> element in the config file and set the
username/password in the handler PWCBClientHandler?

-- 
Thanks & Regards,
Daniel

Mime
View raw message