From 0b6070ecececb9d11dc338a5e4e0ff59f532d737 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 8 Nov 2007 01:14:01 +0000 Subject: [PATCH] Added link to Ldap BeanDefinitionParser. --- src/site/apt/namespaces.apt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/site/apt/namespaces.apt b/src/site/apt/namespaces.apt index c0a976b5e5..c1136258a4 100644 --- a/src/site/apt/namespaces.apt +++ b/src/site/apt/namespaces.apt @@ -156,7 +156,7 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc filter chain entirely. It's not clear how or if additional filter order customization should be implemented (other than by allowing Ids to be set on the various child elements). Channel security should be straightforward. - + * Method Security An example use of the \ decorator is: @@ -192,7 +192,7 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc ** FilterChainProxy Configuration - The \ decorator sets the configuration map of paths to filter lists for FilterChainProxy. The + The \ decorator sets the configuration map of paths to filter lists for FilterChainProxy. The syntax is similar to that described above for the HTTP security features. +----------------------------------------------------------------------------------------------------------------------- @@ -207,7 +207,7 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc +----------------------------------------------------------------------------------------------------------------------- - + This kind of functionality can be added as requested/required without having an impact on other areas, so it is of lower priority than the design of "higher-level" namespace components. @@ -220,10 +220,15 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc element is an excellent example of the use of high-level namespace components. It can be used to set up a complete LDAP authentication provider with or without an external server. The optional <<>> attribute specifies the URL of an external LDAP server. Without this, it will create - an embedded Apache Directory instance and attempt to load any ldif files found on the classpath. Doing this + an embedded Apache Directory server instance and attempt to load any ldif files found on the classpath. Doing this with Spring beans would involve potentially hundreds of lines of configuration and is a difficult task for an - inexperienced user. Ultimately the user should be able to configure authentication and group membership strategy, - server details (e.g. port number) and the structure of the directory. + inexperienced user (or indeed any user). Ultimately the user should be able to configure authentication and group + membership strategy, server details (e.g. port number) and the structure of the directory. + + {{{http://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk/core/src/main/java/org/springframework/security/config/LdapBeanDefinitionParser.java}LdapBeanDefinitionParser}} + does the parsing work here and there are currently no child elements. + +