views:

111

answers:

3

Can anyone roughly explain how can i do window authentication in JSF application? From google search quite lot of example is about asp.net.

A: 

This doesn't really have anything to do with JSF, but rather if your app server has an authentication provider for windows (kerberos/NTLM) authentication.

Ryan Fernandes
A: 

Exactly, like Ryan says, JSF and authentication are not related. But try jcifs as library in your Java web project that provide NTLMv2 Authentication.

Luke
A: 

Here's an open source library, http://spnego.sourceforge.net, that has a ton of examples.

It is actually pretty easy. The library is implemented as a servlet filter.

It has instructions on how to first getting everything setup in your environment.

It has install instructions for Tomcat, JBoss, and Glassfish.

Pat Gonzalez