vipin k.
vipin k.

Reputation: 2715

How can I use NTLM functionality with Apache tomacat?

I want to use windows NTLM with apache tomcat. Anyone who's already used it, please give me some information, I am new to it.

Upvotes: 0

Views: 457

Answers (3)

John
John

Reputation: 6795

Using kerberos requires that you get your server a key from the domain administrators. In some cases, this may not be possible.

jcifs code seems to work well enough, although the jcifs people say they're not interested in supporting NTLM http filter any more. I recently made an NTLM filter using jcifs which can authenticate against either of two domains.

Upvotes: 0

ZZ Coder
ZZ Coder

Reputation: 75456

Why do you want to use NTLM, instead of Kerberos? Both are supported by Windows AD but the latter is more secure and supported by Java natively. See this question for how to setup, he is very close to get it working :)

How do I get JNDIRealm in Tomcat to use Kerberos auth?

If you really want use NTLM, you have to use JCIFS filter

http://jcifs.samba.org/

Upvotes: 0

Andrzej Doyle
Andrzej Doyle

Reputation: 103797

There's a link from the tomcat wiki to a SAMBA article explaining how you can add a filter to your webapp to achieve this.

Upvotes: 1

Related Questions