Hi Hasini,

On Fri, May 25, 2012 at 4:58 AM, Hasini Gunasinghe <[email protected]> wrote:

> Hi Sameera,
>
> Can you please also mention the use case where you need to send user
> credentials in a custom header?
> Just wondering whether you could send them in security header as user name
> token? If not, I hope this communication happens over TLS since the custom
> header contains credentials.
>

This is required to invoke services in a third party software system. They
request a custom security header. Yeah in that case we need to use HTTPs.

Thanks,
Sameera.

>
> Thanks,
> Hasini.
>
> On Fri, May 25, 2012 at 9:52 AM, Sameera Jayasoma <[email protected]>wrote:
>
>> Hi Devs,
>>
>> How do you do subject? I heard that only simple valued headers can be
>> added using using the header mediator. But my requirement is to add a
>> header like following to the outgoing request.
>>
>> <soapenv:Header>
>>       <urn:AuthenticationInfo>
>>          <urn:userName>temp</urn:userName>
>>          <urn:password>temp123</urn:password>
>>       </urn:AuthenticationInfo>
>>    </soapenv:Header>
>>
>> AFAIK, only way to achieve this is to write a custom mediatory. Please
>> let me know, if there is a better way to do this.
>>
>> Thanks,
>> Sameera.
>>
>> --
>> Sameera Jayasoma
>> Technical Lead
>>
>> WSO2, Inc. (http://wso2.com)
>> email: [email protected]
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to