Re: Tomcat NTLM Authentication

2012-02-28 Thread Marcel Schoen
הילה gmail.com> writes: > -Jespa (commercial) > -Samba JCIFs (obsolete, no NTLMv2) You may try this open source Java NTLMv2 API and SSO filter: http://sourceforge.net/projects/ntlmv2auth/ It's an extension of JCIFS, based on code from the (also open source) Liferay portal.

Re: Tomcat NTLM Authentication

2011-03-13 Thread הילה
It seems that only using the new jdbc pool has solved the memory leak :] it's funny that the idea to use it came from a different thread here in the users list. :] Thanks for your help Hila בתאריך 7 במרס 2011 17:15, מאת הילה : > Thanks :] > I'll dig into it. > Any other ideas will be more than

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
Thanks :] I'll dig into it. Any other ideas will be more than welcomed :] 2011/3/7 André Warnier > > > >> But does the Microsoft Driver has the ability to support windows >> authentication? >> If so, how is it implemented? >> > > Don't know. You should ask Microsoft. Or try to find out yourself

Re: Tomcat NTLM Authentication

2011-03-07 Thread André Warnier
הילה wrote: ... But does the Microsoft Driver has the ability to support windows authentication? If so, how is it implemented? Don't know. You should ask Microsoft. Or try to find out yourself, beginning e.g. at the page I mentioned. I would tend to think that, this being a Microsoft module

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
*As Andre says, the one you're using now seems to be rather buggy. We have been using the Microsoft driver for a few months now with no trouble, though we're not using NTLM authentication with it, and the SQL we're using isn't very demanding* But does the Microsoft Driver has the ability to suppo

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
Yeah, ha :] Since I'm desperate, I'll try it out. Do I need to change the connectionURL or DriverClassName in the XML configuration file of tomcat, in order for this to work? 2011/3/7 André Warnier > הילה wrote: > >> I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC >> o

Re: Tomcat NTLM Authentication

2011-03-07 Thread David kerber
On 3/7/2011 8:27 AM, הילה wrote: I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of Microsoft. So I don't want to add more logs to the fire.. :] As Andre says, the one you're using now seems to be rather buggy. We have been using the Microsoft driver for a few months

Re: Tomcat NTLM Authentication

2011-03-07 Thread André Warnier
הילה wrote: I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of Microsoft. So I don't want to add more logs to the fire.. :] That's a funny thing to say, considering that it has a memory leak, and that nobody is answering your calls for help on the jTDS list. What abo

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of Microsoft. So I don't want to add more logs to the fire.. :] 2011/3/7 David kerber > On 3/7/2011 8:10 AM, הילה wrote: > >> Hey, >> I cannot look for it in Microsoft, since the Java is of SUN, and the >> implementation

Re: Tomcat NTLM Authentication

2011-03-07 Thread David kerber
On 3/7/2011 8:10 AM, הילה wrote: Hey, I cannot look for it in Microsoft, since the Java is of SUN, and the implementation is on the Java side, not the SQL Microsoft side. Microsoft may have a jdbc driver you could use, though. D Option no' 1 :] User and password should not exist in clear t

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
Hey, I cannot look for it in Microsoft, since the Java is of SUN, and the implementation is on the Java side, not the SQL Microsoft side. Option no' 1 :] User and password should not exist in clear text in the xml file. 2011/3/7 André Warnier > הילה wrote: > >> I'm using Microsoft SQL Server 20

Re: Tomcat NTLM Authentication

2011-03-07 Thread André Warnier
הילה wrote: I'm using Microsoft SQL Server 2008, latest SP. the use of domain user is used with the jtds package, which allows the tomcat service to authenticate to the DB with the presence of native SSPI DLL called ntlmauth.dll However, it generated a memory leak in the server. So I'm looking fo

Re: Tomcat NTLM Authentication

2011-03-07 Thread הילה
I'm using Microsoft SQL Server 2008, latest SP. the use of domain user is used with the jtds package, which allows the tomcat service to authenticate to the DB with the presence of native SSPI DLL called ntlmauth.dll However, it generated a memory leak in the server. So I'm looking for alternatives

Re: Tomcat NTLM Authentication

2011-03-07 Thread Borut Hadžialić
Yes Andre you are right, I misunderstood the OP - Hila wants to access the database as a single domain user. How to implement this is probably database specific. For example Oracle jdbc driver requires you to either: A) be running the process which makes the database connections as the domain user

Re: Tomcat NTLM Authentication

2011-03-07 Thread André Warnier
Borut, thanks. I think that this is very helpful. It does not do what the OP wanted to do, but it does what he /should/ be doing (in my view). הילה, if the users connect to Tomcat, and the connections to the database are all done under the "Tomcat" user-id, then basically you are putting all t

Re: Tomcat NTLM Authentication

2011-03-07 Thread Borut Hadžialić
One of the links I sent you was broken, the right link is: Oracle Jdbc connection with kerberos http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/clntsec.htm#CIHCIDHF Or just google for 'oracle jdbc kerberos' if they move the content again. On Mon, Mar 7, 2011 at 10:55 AM, Borut Hadži

Re: Tomcat NTLM Authentication

2011-03-07 Thread Borut Hadžialić
Hi Hila, I have a similar requirement in my current project. End users (using browsers and java desktop apps) which work on windows workstations which are in a domain, must be able to log in the application without needing to type in username and password (using their windows credentials). Additio

Re: Tomcat NTLM Authentication

2011-03-06 Thread הילה
Hey, The tomcat is running on windows server 2008 R2 STD I don't now if using windows authentication is less secure and affects all network's security, since this user have permissions only on the DB. you can't even perform login to servers with this user. anyway, I appreciate your comments and di

Re: Tomcat NTLM Authentication

2011-03-06 Thread André Warnier
wrote: Hey, I want to change the way that tomcat authenticates to the DB of our application, from SQL authentication to Windows authentication. We use Tomcat 6.0.29 , and the user and password to connect to the DB is specified in clear text in the xml configuration file under the folder con

Re: Tomcat NTLM authentication

2010-05-20 Thread Mark Thomas
> >> dB. @ dblock.org >> Moscow|Geneva|Seattle|New York >> >> >> >> -Original Message- >> From: Jason Pyeron [mailto:jpye...@pdinc.us] >> Sent: Thursday, May 20, 2010 8:50 AM >> To: 'Tomcat Users List' >> Subject: RE:

RE: Tomcat NTLM authentication

2010-05-20 Thread dB .
You have my explicit +1 to take this code and use/include it in Tomcat. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, May 20, 2010 9:29 AM To: Tomcat Users List Subject: Re: Tomcat NTLM authentication

Re: Tomcat NTLM authentication

2010-05-20 Thread Mark Thomas
py for this to be included then a "+1" here is all that is required. Mark > > dB. @ dblock.org > Moscow|Geneva|Seattle|New York > > > > -Original Message- > From: Jason Pyeron [mailto:jpye...@pdinc.us] > Sent: Thursday, May 20, 2010 8:50 AM

RE: Tomcat NTLM authentication

2010-05-20 Thread dB .
010 8:50 AM To: 'Tomcat Users List' Subject: RE: Tomcat NTLM authentication > -Original Message- > From: dB. > Sent: Thursday, May 20, 2010 8:42 > Subject: Tomcat NTLM authentication > > Forgive me for shameless advertising. This should be useful > to lo

RE: Tomcat NTLM authentication

2010-05-20 Thread Jason Pyeron
> -Original Message- > From: dB. > Sent: Thursday, May 20, 2010 8:42 > Subject: Tomcat NTLM authentication > > Forgive me for shameless advertising. This should be useful > to lots of people. > > We've published a free Tomcat 6 Negotiate authenticator based Apache License? > on JNA