I'm trying to write some code in Java which can connect to Active
Directory server and authenticate user. I'm googling and I can't find
anything about it. Any ideas?
Best redgards
Lukasz G
Alexander Mueller - 22 Sep 2005 09:20 GMT
> I'm trying to write some code in Java which can connect to Active
> Directory server and authenticate user. I'm googling and I can't find
> anything about it. Any ideas?
>
> Best redgards
> Lukasz G
JNDI should provide you with the necessary functionality
http://java.sun.com/j2se/1.5.0/docs/guide/jndi/index.html
Alexander
Jan Peter Stotz - 22 Sep 2005 09:23 GMT
Łukasz Gruszka schrieb:
> I'm trying to write some code in Java which can connect to Active
> Directory server and authenticate user. I'm googling and I can't find
> anything about it. Any ideas?
An Active Directory is from point of view of an Java program just a simple
LDAP server. User "Java Naming and Directory Interface" (JNDI) to access
it. If connection to the AD make sure you use the SSL encrypted way, not
the plaintext connection where anybody can sniff your passwords...
Jan
Roedy Green - 22 Sep 2005 10:56 GMT
On Thu, 22 Sep 2005 09:40:17 +0200, £ukasz Gruszka <nospam@a.com>
wrote or quoted :
>I'm trying to write some code in Java which can connect to Active
>Directory server and authenticate user. I'm googling and I can't find
>anything about it. Any ideas?
see http://mindprod.com/jgloss/jndi.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.