|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Identifying UserName and password usedHi 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, 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, > Pablo,
Thanks for your reply. Setting up the anonymous access too provides these variables. Thanks. |
|||||||||||||||||||||||