wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Creating user acounts through LDAP using JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating user acounts through LDAP using JNDI" Watch "Creating user acounts through LDAP using JNDI" New topic

Creating user acounts through LDAP using JNDI

ms kkhan

Joined: Oct 18, 2003
Posts: 5

hi, friends, long time no response, i am still worried abt the problem i m facing i have designed the other aspects of the system but unable to complete one difficult task, "the creation of user accounts through LDAP using JNDI" like hotmail.com, yahoo.com etc.
that is why i am consulting u people. plz response me and give me some idea abt it.
thanks in advance.
Malik Sikander Khan
Anurag Mishra
Ranch Hand

Joined: Sep 27, 2001
Posts: 133
Hi Khan,
Can you give me a detailed explanation of your problem, like what exactly you want to know, I hope i can help you.
ms kkhan

Joined: Oct 18, 2003
Posts: 5

thanks Anurag Mishra for ur response.
Actually, i am building a website like hotmail.com. i have created the part of the project that sends and recievce emails and also created inbox and other things. But, the major problem is this that i want to create web acounts (like hotmail's do "khansikander_taurus@hotmail.com"), so that if user registers on my site let's say khan.com, they may create their web acounts like abc@khan.com.
for this purpose i need to access MS exchange server through JNDI. Now JNDI needs service providers and there is no service provider for microsoft Active directory.
i am in trouble creating my own service provider for MS active directory.so plz tell me how to cop with it, and build such thing?
and how hotmail.com and yahoo.com create online web acounts of 4 or 3 mb.
i am also reading ASP CDO & ADSI for this purpose which is relatively easy to do, but i love java & j2ee and hence i want to do it with java.
i want to mention u that java is also the requirments of my client .
then Anurag Mishra , plz write a solution for this. i will be more thankfull to you.
sikander khan
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
In most ways, Active Directory is a standard LDAP V3 directory. Sun's out-of-the-box LDAP Service provider (http://java.sun.com/products/jndi/serviceproviders.html#dsmlv2) should work fine with it.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I agree. Here's the link: http://aspose.com/file-tools
subject: Creating user acounts through LDAP using JNDI