jQuery in Action, 2nd edition*
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
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
Author

Creating user acounts through LDAP using JNDI

ms kkhan
Greenhorn

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.
Anurag
ms kkhan
Greenhorn

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
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating user acounts through LDAP using JNDI
 
Similar Threads
Calling JNDI from JSP
How to handle LDAP response in servlets
JNDI Obtaining Last uidNumber
LDAP user authentication
How to handle response codes from LDAP server in Servlets