LDAP, as the name implies, is a Directory Access Protocol.  As such, you
cannot use JDBC to establish connections.  However, java does provide an
analagous interface for accessing Naming and Directory Services (LDAP, DNS,
etc) known as the Java Naming and Directory Interface (JNDI).

A good starting point to learn more about JNDI is 'Developing a White Pages
Service with LDAP and JNDI' by Budi Kurniawan
(http://www.onjava.com/pub/a/onjava/2001/05/21/jndi.html)


HTH,
Ian



                                                                                       
                            
                    "Oliver Thiel"                                                     
                            
                    <thiel.oliver@       To:     <[EMAIL PROTECTED]>                   
               
                    gmx.de>              cc:                                           
                            
                                         Subject:     LDAP + DataSource                
                            
                    01/23/2004                                                         
                            
                    07:55 AM                                                           
                            
                    Please respond                                                     
                            
                    to "Struts                                                         
                            
                    Users Mailing                                                      
                            
                    List"                                                              
                            
                                                                                       
                            
                                                                                       
                            




Hi all,


Is it possible to set up a DataSource for LDAP?
If yes how can I do this? And how do I retrieve a
connection?


Thanks
Oliver








This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to