Home All Groups Group Topic Archive Search About

Identifying UserName and password used

Author
26 Jul 2006 2:37 PM
Anbu
Hi All,

I'm hosting WSE 3.0 SoapService based web service, which uses Basic
authentication. Since, it's implemented from SoapService, a receiver
function receives the soapenvelope.

Client posts the soapenvelope using HTTP POST method. How can I get the
username and password used by the client?

What will happen if my web service is set to anonymous access enabled
and a user credential is passed along with the HTTP POST method?

TIA,

Author
27 Jul 2006 2:45 PM
Pablo Cibraro [MVP]
Hi Anbu,

If you are using HTTP Basic authentication, you can get the current
credentials from the http headers,

Request.ServerVariables("AUTH_USER")
Request.ServerVariables("AUTH_PASSWORD")

If anonymous access is enabled, I am not sure if the client will send those
headers.





Show quote
"Anbu" <Anbu.Thangarathi***@gmail.com> wrote in message
news:1153924656.899364.152440@b28g2000cwb.googlegroups.com...
> Hi All,
>
> I'm hosting WSE 3.0 SoapService based web service, which uses Basic
> authentication. Since, it's implemented from SoapService, a receiver
> function receives the soapenvelope.
>
> Client posts the soapenvelope using HTTP POST method. How can I get the
> username and password used by the client?
>
> What will happen if my web service is set to anonymous access enabled
> and a user credential is passed along with the HTTP POST method?
>
> TIA,
>
Author
10 Aug 2006 12:18 PM
Anbu
Pablo,

Thanks for your reply.

Setting up the anonymous access too provides these variables.

Thanks.
Author
10 Aug 2006 12:18 PM
Anbu
Pablo,

Thanks for your reply.

Setting up the anonymous access too provides these variables.

Thanks.

AddThis Social Bookmark Button