From 5ce867f0c5a703ae0c81fef49f7803152a3032a0 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Thu, 8 Jan 2009 15:02:03 +0000 Subject: [PATCH] Added more package info about pooling. --- src/docbkx/configuration.xml | 4 ++-- src/docbkx/overview.xml | 35 +++++++++++++++++++++++++++++------ 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/docbkx/configuration.xml b/src/docbkx/configuration.xml index 9f24cee7..1629a453 100644 --- a/src/docbkx/configuration.xml +++ b/src/docbkx/configuration.xml @@ -171,7 +171,7 @@ When using SpringSecurityAuthenticationSource, authenticated contexts will only be possible to create once the user - is logged in using Acegi. To use default authentication information + is logged in using Spring Security. To use default authentication information when no user is logged in, use the DefaultValuesAuthenticationSourceDecorator: @@ -306,7 +306,7 @@ public class PersonService implements PersonService, BaseL <bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource"> <property name="url" value="ldap://localhost:389" /> <property name="base" value="dc=example,dc=com" /> - <property name="acegiAuthenticationSource" ref="authenticationSource" /> + <property name="authenticationSource" ref="authenticationSource" /> </bean> ... <bean class="org.springframework.ldap.core.support.BaseLdapPathBeanPostProcessor" /> diff --git a/src/docbkx/overview.xml b/src/docbkx/overview.xml index 9045f5a9..3ae0cda7 100644 --- a/src/docbkx/overview.xml +++ b/src/docbkx/overview.xml @@ -218,11 +218,7 @@ public class PersonDaoImpl implements PersonDao { This section provides an overview of the logical package structure of the Spring LDAP codebase. The dependencies for each package are clearly - noted. A package dependency noted as (optional) means - that the dependency is needed to compile the package but is optionally - needed at runtime (depending on your use of the package). For example, use - of Spring LDAP together with Acegi Security entails use of the - org.acegisecurity package. + noted.
Spring LDAP package structure @@ -321,7 +317,34 @@ public class PersonDaoImpl implements PersonDao { - Dependencies: ldap, ldap.core, spring-tx + Dependencies: ldap.core, commons-lang, commons-pool + + + + + + org.springframework.ldap.pool.factory + + The ldap.pool.factory package contains + the actual pooling context source and other classes for context creation. + + + + Dependencies: ldap, ldap.core, ldap.pool, spring-beans, spring-tx + commons-lang, commons-logging, commons-pool + + + + + + org.springframework.ldap.pool.validation + + The ldap.pool.validation package contains + the connection validation support. + + + + Dependencies: ldap.pool, commons-lang, commons-logging