[jcifs] Windows Authentication code for Browser login with Windows domain login

Frode E. Moe frode at CoreTrek.no
Thu May 12 07:56:46 GMT 2005

On Thu, May 12, 2005 at 09:22:35 +0200, Mike NKONGOLO wrote:
> Hi all,
> I will really appreciate the people who can help by sending me the java code of an implementation of win2k server authentication using login form (I know that ntlm is silent and tutti quanti) but I'm writing an application where people must be authenticated against an Active Directory.
> I've followed the process but could not implement correctly the authentication process

If you're not using NTLM for its silent login, and are using Active Directory,
you can use LDAP to connect to Active Directory and authenticate that way. 

If you use the javax.naming (JNDI) API and "bind" to the AD LDAP server 
with the username and password from your html form, you should be set. 
In addition, you can retrieve lots of user properties like group
membership etc.

More information about the jcifs mailing list