Home All Groups Group Topic Archive Search About

.NET and Web Logic Basic Authentication

Author
23 Dec 2005 11:01 AM
Striboldt
Can anyone confirm a problem between the .NET way of doing Basic
Authentication against a Web Logic webserver ? It looks like that either the
..NET Framework or BEA Web Logic fails to comply with the standard of Basic
Authentication (if such exist).

Example (does not work):

myProxyWebSerivce webService = new myProxyWebService();
NetworkCredential netCredential = new NetworkCredential(username,password);
webService.PreAuthenticate = true;
CredentialCache cache = new CredentialCache();
cache.Add( new Uri(webService.Url), "Basic", netCredential);
webService.Credentials = cache;
webService.method();


Best Regards,
Morten

AddThis Social Bookmark Button