user1531038
user1531038

Reputation: 266

Fetch users from Active Directory using LDAPS in java

How to fetch users from Active Directory using LDAPS in java. The AD server is with our client. I'm able to fetch using LDAP protocol, but for LDAPS what additional information do I require from client?

Upvotes: 0

Views: 830

Answers (3)

jwilleke
jwilleke

Reputation: 10976

We put up a sample of connecting to LDAPS with JNDI.

We also have some general information on Using LDAP with AD. -jim

Upvotes: 1

rachit nigam
rachit nigam

Reputation: 46

If you have the AD modules, you can use Get-AD user with the -LDAP Filter clause. You don't need the clauses to restrict the query to users. You can fetch it just check in your AD modules.

Upvotes: 2

Yair Zaslavsky
Yair Zaslavsky

Reputation: 4137

The code is quite similar to retrieval of objects from LDAP.
You need to remember that the port of LDAPS is usually not 389
(but that's the easy part) and handle certificate issues, as explained in the following blog.

Upvotes: 0

Related Questions