From 2443cf6615d2a4a3cc5de4f70b46f60b6ac321a9 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 20 Aug 2009 14:47:15 +0000 Subject: [PATCH] Disable itest module prior to release --- docs/manual/src/docbook/namespace-config.xml | 49 +++++++++++--------- pom.xml | 2 +- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/docs/manual/src/docbook/namespace-config.xml b/docs/manual/src/docbook/namespace-config.xml index ee60e55d42..f2213ddc7c 100644 --- a/docs/manual/src/docbook/namespace-config.xml +++ b/docs/manual/src/docbook/namespace-config.xml @@ -59,9 +59,9 @@
Design of the Namespace The namespace is designed to capture the most common uses of the framework and provide - a simplified and concise syntax for enabling them within an application. The design is - largely based around the large-scale dependencies within the framework, and can be divided - up into the following areas: + a simplified and concise syntax for enabling them within an application. The design is based + around the large-scale dependencies within the framework, and can be divided up into the + following areas: Web/HTTP Security - the most complex part. Sets up the filters @@ -76,8 +76,7 @@ AuthenticationManager - handles authentication requests from - other parts of the framework. A default instance will be registered internally by the - namespace. + other parts of the framework. @@ -149,12 +148,14 @@ matches at the top. To add some users, you can define a set of test data directly in the namespace: - - - - - + + + + + + + + ]]> @@ -166,11 +167,11 @@ The <authentication-provider> element creates a DaoAuthenticationProvider bean and the <user-service> element creates an - InMemoryDaoImpl. A ProviderManager bean is - always created by the namespace processing system and the - DaoAuthenticationProvider is automatically registered with it. - You can find more detailed information on the beans that are created in the namespace appendix. + InMemoryDaoImpl. All authentication-provider + elements must be within the authentication-manager element, which + creates a ProviderManager and registers the authentication + providers with it. You can find more detailed information on the beans that are created in + the namespace appendix. The configuration above defines two users, their passwords and their roles within the application (which will be used for access control). It is also possible to load user @@ -265,12 +266,16 @@ If you have a custom implementation of Spring Security's UserDetailsService, called "myUserDetailsService" in your application context, then you can authenticate against this using + + + ]]> If you want to use a database, then you can use - - + + + + + ]]> Where "securityDataSource" is the name of a DataSource bean in the application context, pointing at a database @@ -278,7 +283,9 @@ data tables. Alternatively, you could configure a Spring Security JdbcDaoImpl bean and point at that using the user-service-ref attribute: + + + diff --git a/pom.xml b/pom.xml index f772303c7d..f2fe037887 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ taglibs portlet samples - itest + Spring Security