ntlm

Java client for SOAP web service with NTLM authentication

淺唱寂寞╮ 提交于 2019-12-30 09:32:42
问题 I spent many days and nights trying to find a proper Java framework that could connect to Microsoft Dynamics CRM which uses Negotiate/NTLM authentication. I tried all existing suggestions on Stackoverflow and other resources with JAX-WS, Axis2, CXF with various HTTP protocol handlers. No one of them worked as expected. The best approach currently is Axis2/commons-httpclient-3.1, where I can trace at least all three phases with NTLM digest, however the target IIS still refuses the

Intranet website authentication using windows logon

拈花ヽ惹草 提交于 2019-12-30 06:40:12
问题 I'm building an internal website in Perl and I would like to get it to use Windows credentials for authentication. My research so far has turned up a lot of keywords: Kerberos, LDAP, NTLM, etc, but no solid information. Anyone got pointers or good tutorials? Thanks. 回答1: Are your servers part of a Microsoft Active Directory? Active Directory is LDAP-compliant. Therefore, you can setup LDAP to authenticate your users Are you using Apache? If so, there is a module that allows you to

How can I get jcifs to play nicely with apache axis

匆匆过客 提交于 2019-12-29 07:17:13
问题 I need to connect Apache Axis 1.4 to a Webservice that uses NTLM authentication to restrict access to its operations. I'm expecting to use Samba Jcifs to handle the NTLM handshake. I found http://hc.apache.org/httpcomponents-client/ntlm.html which gives me fantastic directions for how to wire up HttpClient 4.0 with jcifs. Trouble is, Axis wants to use Http Client 3.0 and the two apis look very different. There are 2 possibilities that I can see Write an object for Axis that lets it plug into

How to provide ntlm authentication while calling any url?

时光怂恿深爱的人放手 提交于 2019-12-28 07:02:29
问题 I have a hosted url which authenticates using ntlm (windows Integrated authentication). I am on windows and using java 1.8 URL url = new URL("someUrl"); HttpURLConnection con = (HttpURLConnection) url.openConnection(); // con.setInstanceFollowRedirects(false); con.setRequestProperty("Content-Type", "application/json"); con.setRequestMethod("GET"); int responseCode = con.getResponseCode(); if (responseCode == HttpURLConnection.HTTP_OK) { // read response ... in.close(); }else{ System.out

Does git clone work through NTLM proxies?

旧城冷巷雨未停 提交于 2019-12-28 05:01:04
问题 I've tried both using export http_proxy=http://[username]:[pwd]@[proxy] and git config --global http.proxy http://[username]:[pwd]@[proxy] . I couldn't make it work. It looks like git uses Basic authentication: Initialized empty Git repository in /home/.../.git/ * Couldn't find host github.com in the .netrc file, using defaults * About to connect() to github.com port 8080 (#0) * Trying 10.... * Connected to github.com (10....) port 8080 (#0) * Proxy auth using Basic with user '...' > GET http

Liferay 6.2 CE-GA6 make NTLM work for chrome and firefox?

有些话、适合烂在心里 提交于 2019-12-25 11:04:26
问题 I have configured NTLM for single sign on in my application which is working fine on Internet Explorer but not on chrome and firefox.There is a restriction in Liferay source code which restricts NTLM only for IE. Is there any way I can remove that restriction? Note: Chrome and Firefox themselves support NTLM, it is Liferay side issue.Also asked this question here 回答1: After looking in a source code i think, you can just remove BrowserSnifferUtil.isIe(request) condition from if statements in

Verifying NTLMv2 authentication in Java

霸气de小男生 提交于 2019-12-24 03:16:06
问题 So I'm trying to track down a strange bug with NTLMv2 and Java. It seems like NTLM is ignoring any information I pass in during the Java based authentication, and finds the information somewhere else. Because of this, NTLM will authenticate on my machine, even if I provide the incorrect information, and won't work on any other machine even when the correct information is provided. The endpoint is the MOSS 2007 webservice API if that's relevant. Here's the process I'm using to authenticate: 1)

HttpWebRequest 401 with NTLM Authenticiation

瘦欲@ 提交于 2019-12-23 23:06:29
问题 I am having difficulties authenticating a HttpWebRequest to a webserver. The response I am receiving is simply a 401. I've made sure I set the credentials correctly on the C# side, and IIS is correctly set to allow NTLM authentication. I don't know if this matters, but he computer is not on the same domain as the the web server. I am sure the user/pass is correct but are there any other authorization settings needed to configure on the user? If I enable Basic authentication, and disable

Secure Webservice (NTLM) - Jmeter

纵饮孤独 提交于 2019-12-23 18:42:37
问题 I am trying to test a web service with Jmeter. The web service is protected with NTLM authentication(windows).I can able to load WSDL using WebService(SOAP) Request sampler. Currently it works only when I use proxy server with BurpSuit mentioned in this SO answer(Instead of SOUP UI, I'm using Jmeter with BurpSuite). But Instead of using a proxy server,I would like to use a web service directly in Jmeter with NTLM authentication.I've already tried HTTP Authentication Manager with ntlm

Sharepoint 2013 site NTLM authentication javascript doPostBack doesnt work in Safari&iPad

Deadly 提交于 2019-12-23 08:06:07
问题 I have a really interesting problem. We have a site created with sharepoint 2013. We use Windows - NTLM authentication. In a page includes custom discussionListWebPart, we have a filter button which use javascript doPostBack function with webpart ClientID and filter parameters. exp: __doPostBack("ClientID","params"); When we do filter, just discussion list webpart do post back and no any request for the any part of Page. That means the page does not reload. This is what we expected. It works