From f31bcbee07b27296360ff0582ef2380b9fc8a793 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Wed, 6 Aug 2008 00:19:46 +0000 Subject: [PATCH] Minor formatting --- src/docbkx/anon-auth-provider.xml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/docbkx/anon-auth-provider.xml b/src/docbkx/anon-auth-provider.xml index 13a44740d0..6ff00ed036 100644 --- a/src/docbkx/anon-auth-provider.xml +++ b/src/docbkx/anon-auth-provider.xml @@ -1,9 +1,11 @@ -Anonymous Authentication + +Anonymous Authentication + + +
+ Overview -
Overview - - Particularly in the case of web request URI security, sometimes it is more convenient to assign configuration attributes against every possible secure object invocation. Put differently, sometimes it is @@ -20,9 +22,9 @@ null.
-
Configuration - - +
+ Configuration + Spring Security provides three classes that together provide an anonymous authentication feature. AnonymousAuthenticationToken is an implementation @@ -38,7 +40,7 @@ SecurityContextHolder if there is no existing Authentication held there. The definition of the filter and authentication provider appears as follows: - + ]]> - + The key is shared between the filter and authentication provider, so that tokens created by the former are accepted by the latter. The userAttribute is @@ -61,13 +63,13 @@ This is the same syntax as used after the equals sign for InMemoryDaoImpl's userMap property. - + As explained earlier, the benefit of anonymous authentication is that all URI patterns can have security applied to them. For example: - + - @@ -100,4 +102,4 @@ an opportunity to login via form, basic, digest or some other normal authentication mechanism
- \ No newline at end of file +