tags:

views:

1030

answers:

7

Are there any alternatives for JCIFS NTLM library?

A: 

jespa www.ioplex.com is the only one I've come across. Never used it though

Ben Hammond
A: 

To be honest, you should not look for one. For your SSO needs you should use proper kerberos / SPNEGO instead of the legacy NTLM.

For that stuff you need no special libraries as JVMs are already enabled for doing that automatically. All you have to do is to configure your application and JVM security policies properly. The official documentation from Sun should give you all the details you need, just browse the "security APIs" section.

NTLM is not a "legacy" mechanism. NTLM is required if the client cannot get a Kerberos ticket which unfortunately happens all too easily. In fact, Kerberos is rather fragile and difficult to use by comparison. And NTLMv2 is just as secure (128 bit RC4 vs. 256 bit AES really doesn't matter much). If you need to do client-side NTLM, JCIFS is fully functional (albeit it is not fully documented - ask on the mailing list). If you need server-side NTLM such as for HTTP SSO, Jespa is the way to go.
Note that Jespa is not free software.
Thorbjørn Ravn Andersen
+1  A: 

I think NTLM is being deprecated in favor of Kerberos/SPNEGO. Take a look at the SPNEGO HTTP Servlet Filter project to see if it might fit your needs.

Pat Gonzalez
+1  A: 

Java Opensource Single Sign On (JOSSO) is at http://www.josso.org/ They have a page on NTLM, although I'm not sure how well it works.

John
A: 

Has anyone checked out this? Any feedback and how to use it? http://tomcatspnego.codeplex.com/

mxz
+4  A: 

Waffle - http://waffle.codeplex.com

Has filters, authenticators, supports spring-security, etc. Windows-only, but doesn't require native DLLs.

dblock
Interesting project!
Thorbjørn Ravn Andersen
+1  A: 

If you don't mind a commercially packaged product then take a look at: Quest Single Sign On for Java which provides support for SPNEGO/Kerberos (including sites and S4U protocols) as well as NTLM.

Dean Povey