[wsf-c-dev] [Fwd: [wsf-php-user] HTTP Basic Auth with WSF/PHP]

Samisa Abeysinghe samisa at wso2.com
Wed Apr 30 20:25:54 PDT 2008


Dimuthu Gamage wrote:
> Hi,
> Mostly php users are familiar with the php function header[1] which 
> allows them to set custom response headers. From wsf/php service we 
> can use this function to set response headers. But from a client we 
> don't have specific option to set custom request headers.
>
> My suggestion is to provide a WSClient option to set customHttpHeaders 
> with similar way they can set custom security tokens.

+1.

Samisa...
>
> Thanks
> Dimuthu
>
>
>
> [1] http://www.php.net/header
>
> ------------------------------------------------------------------------
>
> Subject:
> [wsf-php-user] HTTP Basic Auth with WSF/PHP
> From:
> "Eric Marden" <Eric.Marden at bonniercorp.com>
> Date:
> Wed, 30 Apr 2008 17:38:18 -0400
> To:
> <wsf-php-user at wso2.org>
>
> To:
> <wsf-php-user at wso2.org>
>
>
> Hi,
>  
> After banging my head against the wall with the ext/soap, I'm very 
> happy to have found this extension. However, I have run into something 
> that the docs don't really cover. We aren't using WS-Security yet, 
> only HTTP Basic Auth via Apache. With the ext/soap it was as easy as 
> passing login and password to the constructer. Does this extension 
> have something similar? I was searching the site, but the one 
> discussion that I found seemed to be discussing its use with the wso2 ESB.
>  
> Is there a way for my client to pass this information along with the 
> request? Can I force them in the HTTP headers with php's header() 
> function?
>  
> Thanks!
>  
>  
> --
> Eric Marden
> Sr. PHP Developer
> 407.571.4861
>  
>
> *Bonnier Corporation*
> 460 N. Orlando Avenue, Suite 200
> Winter Park, Florida 32789
> www.bonniercorp.com <http://www.bonniercorp.com/>
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wsf-php-user mailing list
> Wsf-php-user at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-php-user
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.6/1404 - Release Date: 4/29/2008 6:27 PM
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"




More information about the Wsf-c-dev mailing list