At 10:15 29/4/01 +0100, Vincent Massol wrote:
>Looks nice. Does it mean that if I need to do unit testing of code that uses
>a LDAP directory (through JNDI), I can easily create a test JNDI provider
>implementation (against the JNDI SPI) in order not to hit a real LDAP
>directory but rather an in-memory implementation for instance ?
>Cool.
Should be easy enough - you would just have to write/configure the
NameParser appropriately (Not sure if you can just configure native JDK
version or would have to write your own).
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*