windows-authentication


Intermittent '401: Unauthorized' exceptions from server

泪湿孤枕 提交于 2020-02-25 05:30:07
问题 I have a web service that is hosted in a clustered environment. The web application that is calling this service is also hosted in a clustered environment, but on a different set of IIS6 servers. Hence, the application servers are appserv1 and appserv2 and the service servers are svcserv1 and svcserv2. We don't control which servers are accessed since we typically just refer to them as either appserv or svcserv, respectively. The service is a WCF Service but has been created to be compatible

Intermittent '401: Unauthorized' exceptions from server

亡梦爱人 提交于 2020-02-25 05:29:07
问题 I have a web service that is hosted in a clustered environment. The web application that is calling this service is also hosted in a clustered environment, but on a different set of IIS6 servers. Hence, the application servers are appserv1 and appserv2 and the service servers are svcserv1 and svcserv2. We don't control which servers are accessed since we typically just refer to them as either appserv or svcserv, respectively. The service is a WCF Service but has been created to be compatible

Sending large POST requests with integrated Windows authentication in OWIN self-host

廉价感情. 提交于 2020-02-05 06:16:06
问题 I'm trying to set up an endpoint for authenticated HTTP POST requests that will handle requests whose bodies sit at around 15 kB. I followed the description on MSDN and defined var httpListener = (OwinHttpListener) appBuilder.Properties[typeof(OwinHttpListener).FullName]; httpListener.Listener.AuthenticationSchemeSelectorDelegate = request => request.HttpMethod == "POST" ? AuthenticationSchemes.IntegratedWindowsAuthentication : AuthenticationSchemes.Anonymous; in my Startup.Configuration .

Simulating an Active Directory Login in Dev/Test Environment

99封情书 提交于 2020-01-31 03:58:07
问题 Currently building a WPF app that will run in an environment where the user logs into Windows PC which is on a domain (DC). The app will ask the user to enter their login and password again when it starts up, and the login/password will be verified against Active Directory (forgive me if my terminology is not correct here). The login is all-or-nothing; if their password is correct, there is no (current) concern with retrieving groups, rights or anything of that nature. The development

authentication issue with an intranet website running under IIS6

女生的网名这么多〃 提交于 2020-01-22 10:02:05
问题 I have an an intranet website running under IIS6 (under a specific port, not the default one) with a integrated windows authentication enabled and uses an application pool configured with a service account. the issue is, if I access the website using the server name with a fully qualified domain in the URL, it throws a login prompt (doesn't work even if enter my windows login credentials), but if I use the IP address of the server then it works fine. Please let me know what I need to do to

WCF REST : (C# 4.0 template) Securing with windows authentication and hosting in a windows service?

。_饼干妹妹 提交于 2020-01-17 13:50:46
问题 I am trying to find out how to secure my web services with Windows Authentication (Active Directory). I am using the "NEW" templates provided for c# 4.0 (vs 2010) and currently have this but i need to host it in a windows service - is this possible? I thought the WCF Rest clientCredentialType ="Windows" actually uses IIS to provide this type of security? I have searched the internet and found many examples with C# 3.5 but none for the new template provided to vs 2010 C# 4.0 to create a rest

WCF REST : (C# 4.0 template) Securing with windows authentication and hosting in a windows service?

≡放荡痞女 提交于 2020-01-17 13:49:06
问题 I am trying to find out how to secure my web services with Windows Authentication (Active Directory). I am using the "NEW" templates provided for c# 4.0 (vs 2010) and currently have this but i need to host it in a windows service - is this possible? I thought the WCF Rest clientCredentialType ="Windows" actually uses IIS to provide this type of security? I have searched the internet and found many examples with C# 3.5 but none for the new template provided to vs 2010 C# 4.0 to create a rest

WCF Server Configuration for ws2007FederationHttpBinding and Windows Authentication

本秂侑毒 提交于 2020-01-16 09:36:09
问题 I have to implement "Windows Authentication" on a service hosted on Server. I am using "ws2007FederationHttpBinding". I am using "ws2007FederationHttpBinding" binding since I am receiving token from my ADFS server. Below are my server configuration: web.config <authentication mode="Windows" /> <ws2007FederationHttpBinding> <binding name="SamlTokenCustomStsBindingConfig"> <security mode="Message"> <message establishSecurityContext="false"> </message> </security> </binding> <

Cannot get authentication working in IIS 8.5

心不动则不痛 提交于 2020-01-16 07:39:31
问题 We have installed Basic and Windows authentication for IIS 8.5 on our Windows 2012 server but cannot get the server to prompt the client for credentials. Under the "Authentication" feature we have only 2 options (despite restarting IIS numerous times): Anonymous Authentication: Disabled ASP.NET Impersonation: Disabled When we set anonymous to Disabled we get a 401 but no Authenticate headers. When we Enable it we get a 200 but are anonymous. We've tried all sorts of settings in web.config and

MVC Windows Authentication

本小妞迷上赌 提交于 2020-01-16 06:10:29
问题 i'm trying to implement windows authentication in a MVC application but I'm having some trouble. I had create a new user called "test" and i gave him all the permissions to the folder in IIS In the web config i wrote this code: <system.web> <authentication mode="Windows"/> <authorization> <deny users="?"/> </authorization> ... I i set the attribute authorized on the products controller as follows [Authorize(Users="test")] public class ProductsController : Controller { ... i also try only

工具导航Map