• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

Adding users to an LDAP group with java

Hi,

I am working on a project where in I need to check if a particular user is existing in an LDAP group. If not, I need to add the user in the group.

I am relatively new with using JAVA and LDAP.  My activity is based on Oracle LDAP (oracle internet directory). However, the logic is same for all LDAP.

It would be really helpful if you can provide me some simple sample code for this.

Thanks and regards
0
TJOSY
Asked:
TJOSY
1 Solution
 
Kevin CrossChief Technology OfficerCommented:
If this is not already answered by time I get home later this evening (and find my old Java applications), I will post back as I have done this in the past using JNDI for identity management. In the interim, you can take a look at the JNDI tutorial: http://download.oracle.com/javase/jndi/tutorial/

If you have tried any of this yourself already, post what you have as that may speed up assistance here, especially if this is academic in nature.

Kevin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now