Fixed link in docbook

This commit is contained in:
Luke Taylor 2009-12-11 15:36:02 +00:00
parent 520e733cb2
commit 07f3acfc98
1 changed files with 8 additions and 7 deletions

View File

@ -174,11 +174,11 @@
</section> </section>
<section xml:id="security-context-persistence-filter"> <section xml:id="security-context-persistence-filter">
<title><classname>SecurityContextPersistenceFilter</classname></title> <title><classname>SecurityContextPersistenceFilter</classname></title>
<para> We covered the purpose of this all-important filter in <link <para> We covered the purpose of this all-important filter in the <link
xlink:href="#tech-intro-sec-context-persistence"/> so you might want to re-read that xlink:href="#tech-intro-sec-context-persistence">Technical Overview</link> chapter
section at this point. Let's first take a look at how you would configure it for use so you might want to re-read that section at this point. Let's first take a look at how
with a <classname>FilterChainProxy</classname>. A basic configuration only requires the you would configure it for use with a <classname>FilterChainProxy</classname>. A basic
bean itself <programlisting><![CDATA[ configuration only requires the bean itself <programlisting><![CDATA[
<bean id="securityContextPersistenceFilter" <bean id="securityContextPersistenceFilter"
class="org.springframework.security.web.context.SecurityContextPersistenceFilter"/> class="org.springframework.security.web.context.SecurityContextPersistenceFilter"/>
]]></programlisting> As we saw previously, this filter has two main tasks. It is responsible for ]]></programlisting> As we saw previously, this filter has two main tasks. It is responsible for
@ -195,8 +195,9 @@ class="org.springframework.security.web.context.SecurityContextPersistenceFilter
now delegated to a separate strategy interface: now delegated to a separate strategy interface:
<programlisting language="java"> <programlisting language="java">
public interface SecurityContextRepository { public interface SecurityContextRepository {
SecurityContext loadContext(HttpRequestResponseHolder requestResponseHolder); SecurityContext loadContext(HttpRequestResponseHolder requestResponseHolder);
void saveContext(SecurityContext context, HttpServletRequest request, HttpServletResponse response); void saveContext(SecurityContext context, HttpServletRequest request,
HttpServletResponse response);
} }
</programlisting> </programlisting>
The <classname>HttpRequestResponseHolder</classname> is simply a container for the The <classname>HttpRequestResponseHolder</classname> is simply a container for the