From 48c5a5e7ce63647b0a07eb620627ddc3ccb2c348 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sat, 12 Apr 2008 22:39:21 +0000 Subject: [PATCH] SEC-653: added information on custom-provider and authentication-manager use --- src/docbkx/namespace-config.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/docbkx/namespace-config.xml b/src/docbkx/namespace-config.xml index 75838382fa..952dbfb367 100644 --- a/src/docbkx/namespace-config.xml +++ b/src/docbkx/namespace-config.xml @@ -564,7 +564,40 @@ ... ]]> + + + +
+ The Authentication Manager + + We've touched on the idea that the namespace configuration automatically registers an authentication manager bean for + you. This is an instance of Spring Security's ProviderManager class, which you may already + be familiar with if you've used the framework before. + + + You may want to register additional AuthenticationProvider beans with the ProviderManager + and you can do this using the <custom-authentication-provider> element within the bean. For example: + + + ... + + ]]> + + + Another common requirement is that another bean in the context may require a reference to the AuthenticationManager. + There is a special element which lets you register an alias for the AuthenticationManager and you can then + use this name elsewhere in your application context. + + + + + ... + + ]]>