THANKS Jiri that's what I was searching for.
THANKS Ian for the nice explanation on LDAP ;) OK, maybe may question
was not very precise - sorry!


But anyway thanks to both of you!
Oliver

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 23. Januar 2004 16:49
An: Struts Users Mailing List
Betreff: Re: LDAP + DataSource

Hallo,
generally, it is right.
but, there exist jdbc driver for ldap (for example,
http://www.octetstring.com/products/jdbcldapdriver/). I do not use it,
becouse I
am using the classical way (java ldap packages from novell), but I was
view the
samples of jdbc way and I thing if you use it (jdbc), you can create
datasource.

But as I wrote, I am using the classic way to access LDAP.

Best regards
Jiri

> 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]
> 
> 




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


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

Reply via email to