I want to send two more params along with username and password (password is
set in the call back handler) in the SOAP header which can be accessible in
my PWCBHandler when "pwcb.getUsage() ==
WSPasswordCallback.USERNAME_TOKEN_UNKNOWN".

I want to do this with parameter based configuration and my client axis2.xml
has following config elements:

<parameter name="OutflowSecurity">
     <action>
         <items>UsernameToken</items>
         <user>system</user>

 
<passwordCallbackClass>labware.web.ws.control.PWCBHandler</passwordCallbackClass>
   <passwordType>PasswordText</passwordType>
       </action>
    </parameter>

My thinking is I can send these extra parameter using customtoken or through
the request url and can get back those in PWCBHandler.

Please comment.

Chinmoy




On Sat, Jul 18, 2009 at 8:10 PM, Nandana Mihindukulasooriya <
[email protected]> wrote:

> Hi Chinmoy,
>             What is your scenario ? What security requirements do you want
> to fulfill ?
>
> regards,
> Nandana
>
>
> On Sat, Jul 18, 2009 at 6:33 PM, Chinmoy Chakraborty <[email protected]>wrote:
>
>> Hi,
>>
>> How I can configure client axis2.xml/services.xml to accept custom token?
>> What is this custom token and how I can use this? I am following parameter
>> based approach. My client axis2.xml is attached.
>>
>> Chinmoy
>>
>>
>>
>
>

Reply via email to