SEC-653: minor changes to layout and added link to InMemory section
This commit is contained in:
parent
28dabf9c06
commit
c68ac55a8e
|
@ -177,13 +177,6 @@
|
||||||
</authentication-provider>
|
</authentication-provider>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</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><authentication-provider></literal>
|
|
||||||
element specifies that the user information will be registered with the authentication
|
|
||||||
manager and used to process authentication requests.
|
|
||||||
</para>
|
</para>
|
||||||
<sidebar>
|
<sidebar>
|
||||||
<para>If you are familiar with previous versions of the framework, you can probably
|
<para>If you are familiar with previous versions of the framework, you can probably
|
||||||
|
@ -196,9 +189,18 @@
|
||||||
bean and the <literal><user-service></literal> element creates an
|
bean and the <literal><user-service></literal> element creates an
|
||||||
<classname>InMemoryDaoImpl</classname>. A <literal>ProviderManager</literal>
|
<classname>InMemoryDaoImpl</classname>. A <literal>ProviderManager</literal>
|
||||||
bean is always created by the namespace processing system and the
|
bean is always created by the namespace processing system and the
|
||||||
<classname>AuthenticationProvider</classname>
|
<classname>DaoAuthenticationProvider</classname>
|
||||||
is automatically registered with it.</para>
|
is automatically registered with it.</para>
|
||||||
</sidebar>
|
</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><authentication-provider></literal>
|
||||||
|
element means that the user information will be used by the authentication
|
||||||
|
manager to process authentication requests.
|
||||||
|
</para>
|
||||||
<para>
|
<para>
|
||||||
At this point you should be able to start up your application and you will be required to
|
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
|
log in to proceed. Try it out, or try experimenting with the "tutorial" sample application
|
||||||
|
|
Loading…
Reference in New Issue