I'm using Tomcat on a Windows box and I installed Tomcat with the normal installation. I'm logging on with the local "SYSTEM" user which I set on the "Log On" Tab of the Tomcat Configuration Tool.
Have you tried that? It worked for me.
D.
________________________________
Von:
esme...@googlegroups.com im Auftrag von Daniel Koller
Gesendet: Mi 11/12/2008 08:34
An:
esme...@googlegroups.com
Betreff: [ESME-dev] Proxy Problem - Part 2 NTLM Auth
FYI from my experiment to setup ESME company internal
Kind regards,
daniel
---
Good morning,
- ESME accepts the proxy information from the Properties-File, that means the proxy is mentioned in the esme-log.
- I mean while managed to let Tomcat run under a non-local user to approach the proxy (local users - as far as i know - cannot pass the proxy anyway)
- Now Tomcat tells me that NTLM Credentials cannot be used with a java class call UserPasswordCredentials...
#update: if just found this on the apache pages:
"...
There are some significant differences in the way that NTLM works compared with basic and digest authentication. These differences are generally handled by HttpClient, however having an understanding of these differences can help avoid problems when using NTLM authentication.
1. NTLM authentication works almost exactly the same as any other form of authentication in terms of the HttpClient API. The only difference is that you need to supply 'NTCredentials' instead of 'UsernamePasswordCredentials' (NTCredentials actually extends UsernamePasswordCredentials so you can use NTCredentials right throughout your application if need be).
2. The realm for NTLM authentication is the domain name of the computer being connected to, this can be troublesome as servers often have multiple domain names that refer to them. Only the domain name that HttpClient connects to (as specified by the HostConfiguration) is used to look up the credentials. It is generally advised that while initially testing NTLM authentication, you pass the realm in as null which is used as the default.
3. NTLM authenticates a connection and not a request, so you need to authenticate every time a new connection is made and keeping the connection open during authentication is vital. Due to this, NTLM cannot be used to authenticate with both a proxy and the server, nor can NTLM be used with HTTP 1.0 connections or servers that do not support HTTP keep-alives.