NTLMv2 Servlet Filter

This simple servlet filter performs an NTLMv2 authentication with the browser client. After successful authentication, a HTTP session is created and access to the application is granted.

The filter uses EHCache for caching the NTLM challenges. While still pretty basic in its functionality, the filter should be production-ready as it is.

The example web.xml file shows how to enable the filter in your web application, and which configuration settings must be provided:

                        <!-- Windows domain name -->
                        <!-- IP-address of domain controller -->
                        <!-- Simple (non-FQDN) hostname of DC host -->
                        <!-- Computer account for connection to DC -->
                        <!-- Password of computer account -->