|
@@ -421,7 +421,7 @@
|
|
<interfacename>AuthenticationProvider</interfacename> instances should be children of this
|
|
<interfacename>AuthenticationProvider</interfacename> instances should be children of this
|
|
element.</para>
|
|
element.</para>
|
|
<section>
|
|
<section>
|
|
- <title>The <authentication-provider> Element</title>
|
|
|
|
|
|
+ <title>The <literal><authentication-provider></literal> Element</title>
|
|
<para> This element is basically a shorthand syntax for configuring a <link
|
|
<para> This element is basically a shorthand syntax for configuring a <link
|
|
xlink:href="#core-services-dao-provider"><classname>DaoAuthenticationProvider</classname></link>.
|
|
xlink:href="#core-services-dao-provider"><classname>DaoAuthenticationProvider</classname></link>.
|
|
<classname>DaoAuthenticationProvider</classname> loads user information from a
|
|
<classname>DaoAuthenticationProvider</classname> loads user information from a
|
|
@@ -432,6 +432,15 @@
|
|
<literal>user-service-ref</literal> attribute to point to a bean defined elsewhere in
|
|
<literal>user-service-ref</literal> attribute to point to a bean defined elsewhere in
|
|
the application context). You can find examples of these variations in the <link
|
|
the application context). You can find examples of these variations in the <link
|
|
xlink:href="#ns-auth-providers">namespace introduction</link>. </para>
|
|
xlink:href="#ns-auth-providers">namespace introduction</link>. </para>
|
|
|
|
+ <section>
|
|
|
|
+ <title>The <literal><password-encoder></literal> Element</title>
|
|
|
|
+ <para>Authentication providers can optionally be configured to use a password encoder as
|
|
|
|
+ described in the <link xlink:href="#ns-password-encoder">namespace introduction</link>.
|
|
|
|
+ This will result in the bean being injected with the appropriate <interfacename>PasswordEncoder</interfacename>
|
|
|
|
+ instance, potentially with an accompanying <interfacename>SaltSource</interfacename> bean to
|
|
|
|
+ provide salt values for hashing.
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
</section>
|
|
</section>
|
|
<section>
|
|
<section>
|
|
<title>Using <literal><authentication-provider></literal> to refer to an
|
|
<title>Using <literal><authentication-provider></literal> to refer to an
|