ntlm

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 .

Determine if browser supports windows integrated authentication

删除回忆录丶 提交于 2020-01-14 09:06:29
问题 Is there a way to determine if a browser supports NTLM without having NTLM enabled for the particular site or directory in IIS and without showing a login dialog/pop-up? Preferably, determine this using ColdFusion or perhaps some combination of JS and CF. I'd prefer not to restrict this to just IE as other browsers (such as FF) support NTLM authentication. 回答1: If you request a page and the page returns 401 and says it only accepts NTLM, and then the browser sends another HTTP packet trying

Windows authentication is not challenging browsers out of the domain

可紊 提交于 2020-01-13 19:56:06
问题 I have a web application that allows anonymous access and windows authentication. Basically, the app try to auto-login users by windows authentication if the windows user is in a user list in the application, otherwise it shows the login screen. If no credential is provided, the app then shows a login screen where the user could login using a application internal user. As far as I know, Windows Authentication is a challenging protocol, so I have to return an Unauthorized in order to force the

How to 'convert' variable of type instance such that the variable can be used to authenticate when making system calls

佐手、 提交于 2020-01-13 07:06:08
问题 I'm using https://code.google.com/p/python-ntlm/ for authenticating and then using a system call to get the response from YSlow. I am not quite sure on how to 'convert' the needed info to a variable that will provide me the response I desire. I tried other solutions...but here I am... user = 'domain\userName' password = "password" url = "http://someUrlHere.com" # User must be granted access in order for script to work... passman = urllib2.HTTPPasswordMgrWithDefaultRealm() passman.add_password

HttpClient fails to authenticate via NTLM on the second request when using the Sharepoint REST API on Windows Phone 8.1

谁都会走 提交于 2020-01-11 12:22:51
问题 Sorry for the long title, but it seems to be the best summary based on what I know so far. We’re currently working on a Universal App that needs to access some documents on a Sharepoint server via the REST API using NTLM Authentication, which proves to be more difficult than it should be. While we were able to find workarounds for all problems (see below), I don’t really understand what is happening and why they are even necessary. Somehow the HttpClient class seems to behave differently on

How can I connect to a Microsoft Dynamics CRM server using Python?

一个人想着一个人 提交于 2020-01-10 11:46:30
问题 The Microsoft Dynamics CRM service uses NTLM authentication, which makes connecting to it from a python process using suds somewhat complicated. I'm looking for a code sample that will: Send and receive the response from a RetrieveAttributeRequest Send and receive the response from an Execute request. This must use Python 2.6 or Python 2.7, not Python 3. I already have a working implementation that uses curl to do this, but it's flaky at the best of times, and as part of some other work I

javamail NTLM authentication using credentials of current user

限于喜欢 提交于 2020-01-06 03:13:47
问题 How can I use the JavaMail API with NTLM authentication to an Exchange server without having to specify user name and password but instead automatically use the credentials of the currently logged-in user? ("single sign on") My intention is to let my client program (which runs on Windows machines in my company's network) to be able to send email without having to specify credentials and without having to allow relay for computers in the network due to security concerns. (In the end I would

HTTP response '401: Unauthorized' using NTLM with Wildfly

与世无争的帅哥 提交于 2020-01-05 08:08:31
问题 When the SOAP request is too long we are getting '401: Unauthorized' as a response using JAX-WS in WildFly 11 (Apache CXF under the hood). We are calling a SOAP Web Service from WildFly to SharePoint, using NTLM protocol. If the request size is short it works fine, but if the request is "large" (SOAP messages with 1MB for example) it fails with error HTTP 401. We are using this web service to send images, but encoded as base64 binary. We tried to call the service using SOAP UI and it worked,

End-to-end kerberos delegated authentication in ASP.NET

谁都会走 提交于 2020-01-04 04:02:23
问题 I'm trying to setup an internal website that will contact another backend service within the network on behalf of the user using a HttpWebRequest. I have to use Integrated Windows Authentication on the ASP.NET application as the backend system only supports this type of authentication. I'm able to setup IWA on the ASP.NET application, and it's using kerberos as I expect it to. However when the authentication is delegated to the backend system it doesn't work anymore. This is because the

End-to-end kerberos delegated authentication in ASP.NET

非 Y 不嫁゛ 提交于 2020-01-04 04:02:07
问题 I'm trying to setup an internal website that will contact another backend service within the network on behalf of the user using a HttpWebRequest. I have to use Integrated Windows Authentication on the ASP.NET application as the backend system only supports this type of authentication. I'm able to setup IWA on the ASP.NET application, and it's using kerberos as I expect it to. However when the authentication is delegated to the backend system it doesn't work anymore. This is because the