RE: Usint getRemoteUser() method
I disagree if you are not using Apache as a webserver, IIS -> Tomcat via JK is very easy these days. Not only that, you can take advantage of IIS's point and click configuration and also get it serving out static resources nice and easily from Tomcat, all easily configurable. Plus it leverages existing Microsoft infrastructure and knowledge that exists in Windows-based organisations. If you're using Apache as a webserver, fair enough I agree with you, jCIFs is fine. Cheers, Allistair. > -Original Message- > From: Jason Bainbridge [mailto:[EMAIL PROTECTED] > Sent: 09 March 2005 17:02 > To: Allistair Crossley > Cc: Tomcat Users List; Amrish Bharatiya > Subject: Re: Usint getRemoteUser() method > > > On Wed, 9 Mar 2005 16:46:08 -, Allistair Crossley > <[EMAIL PROTECTED]> wrote: > > Or easier is to use IIS and then turn tomcatAuthentication > off. Read my blog at www.adcworks.com/blogs to see how to do > this. IIS can pass your NTLM value to Tomcat happily without jCIFs. > > I disagree, setting up IIS is un-ncessary evil and setting up jcifs is > a LOT easier than all those hoops you need to jump through for IIS, > just drop in the .jar file, add a few parameters to your web.xml and > you're up and running. to go the IIS route you end up with another > webserver to maintain and I'm guessing most people dealing with Tomcat > aren't going to have IIS experience to begin with and then you have to > get the connector working between IIS & Jrun. > > A lot more work than just dropping in a .jar file and adding a few > parameters to your web.xml. > > Regards, > -- > Jason Bainbridge > http://kde.org - [EMAIL PROTECTED] > Personal Site - http://jasonbainbridge.com > --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Usint getRemoteUser() method
On Wed, 9 Mar 2005 16:46:08 -, Allistair Crossley <[EMAIL PROTECTED]> wrote: > Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog > at www.adcworks.com/blogs to see how to do this. IIS can pass your NTLM value > to Tomcat happily without jCIFs. I disagree, setting up IIS is un-ncessary evil and setting up jcifs is a LOT easier than all those hoops you need to jump through for IIS, just drop in the .jar file, add a few parameters to your web.xml and you're up and running. to go the IIS route you end up with another webserver to maintain and I'm guessing most people dealing with Tomcat aren't going to have IIS experience to begin with and then you have to get the connector working between IIS & Jrun. A lot more work than just dropping in a .jar file and adding a few parameters to your web.xml. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Usint getRemoteUser() method
Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog at www.adcworks.com/blogs to see how to do this. IIS can pass your NTLM value to Tomcat happily without jCIFs. > -Original Message- > From: Jason Bainbridge [mailto:[EMAIL PROTECTED] > Sent: 09 March 2005 16:39 > To: Tomcat Users List; Amrish Bharatiya > Subject: Re: Usint getRemoteUser() method > > > On Wed, 9 Mar 2005 22:04:17 +0530, Amrish Bharatiya > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I am using Tomacat server. I want to authenticate a client > making the > > request to this server. I have deployed my server on an Intranet and > > want to use Window's Domain Authentication. > > > > When i use request.getRemoteUser() method to get the user name it > > returns null. when i looked into its help, it says that this method > > returns null if the user is not authenticated. How can i > authenticate > > this user? > > http://jcifs.samba.org > > Regards, > -- > Jason Bainbridge > http://kde.org - [EMAIL PROTECTED] > Personal Site - http://jasonbainbridge.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Usint getRemoteUser() method
On Wed, 9 Mar 2005 22:04:17 +0530, Amrish Bharatiya <[EMAIL PROTECTED]> wrote: > Hi All, > > I am using Tomacat server. I want to authenticate a client making the > request to this server. I have deployed my server on an Intranet and > want to use Window's Domain Authentication. > > When i use request.getRemoteUser() method to get the user name it > returns null. when i looked into its help, it says that this method > returns null if the user is not authenticated. How can i authenticate > this user? http://jcifs.samba.org Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Usint getRemoteUser() method
Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my server on an Intranet and want to use Window's Domain Authentication. When i use request.getRemoteUser() method to get the user name it returns null. when i looked into its help, it says that this method returns null if the user is not authenticated. How can i authenticate this user? -- Thanks in Advance, Amrish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]