SEC-653: minor changes to layout and added link to InMemory section

This commit is contained in:
Luke Taylor 2008-04-12 17:14:37 +00:00
parent 28dabf9c06
commit c68ac55a8e
1 changed files with 11 additions and 9 deletions

View File

@ -176,14 +176,7 @@
</user-service>
</authentication-provider>
]]>
</programlisting>
This 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 information from
a standard properties file using the <literal>properties</literal> attribute on
<literal>user-service</literal>.
The <literal>&lt;authentication-provider&gt;</literal>
element specifies that the user information will be registered with the authentication
manager and used to process authentication requests.
</programlisting>
</para>
<sidebar>
<para>If you are familiar with previous versions of the framework, you can probably
@ -196,9 +189,18 @@
bean and the <literal>&lt;user-service&gt;</literal> element creates an
<classname>InMemoryDaoImpl</classname>. A <literal>ProviderManager</literal>
bean is always created by the namespace processing system and the
<classname>AuthenticationProvider</classname>
<classname>DaoAuthenticationProvider</classname>
is automatically registered with it.</para>
</sidebar>
<para>
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 information from
a standard properties file using the <literal>properties</literal> attribute on
<literal>user-service</literal>. See <link xlink:href="#in-memory-service"/> for more details.
Using the <literal>&lt;authentication-provider&gt;</literal>
element means that the user information will be used by the authentication
manager to process authentication requests.
</para>
<para>
At this point you should be able to start up your application and you will be required to
log in to proceed. Try it out, or try experimenting with the "tutorial" sample application