diff --git a/docs/manual/src/docbook/appendix-namespace.xml b/docs/manual/src/docbook/appendix-namespace.xml index 2a0ffa333c..6732d7ce5c 100644 --- a/docs/manual/src/docbook/appendix-namespace.xml +++ b/docs/manual/src/docbook/appendix-namespace.xml @@ -421,7 +421,7 @@ AuthenticationProvider instances should be children of this element.
- The <authentication-provider> Element + The <literal><authentication-provider></literal> Element This element is basically a shorthand syntax for configuring a DaoAuthenticationProvider. DaoAuthenticationProvider loads user information from a @@ -432,6 +432,15 @@ user-service-ref attribute to point to a bean defined elsewhere in the application context). You can find examples of these variations in the namespace introduction. +
+ The <literal><password-encoder></literal> Element + Authentication providers can optionally be configured to use a password encoder as + described in the namespace introduction. + This will result in the bean being injected with the appropriate PasswordEncoder + instance, potentially with an accompanying SaltSource bean to + provide salt values for hashing. + +
Using <literal><authentication-provider></literal> to refer to an diff --git a/docs/manual/src/docbook/namespace-config.xml b/docs/manual/src/docbook/namespace-config.xml index d16f7b0265..f843e81b7f 100644 --- a/docs/manual/src/docbook/namespace-config.xml +++ b/docs/manual/src/docbook/namespace-config.xml @@ -303,7 +303,7 @@ <interfacename>AuthenticationProvider</interfacename>. See <xref linkend="ns-auth-manager" /> for more on information on how the Spring Security <interfacename>AuthenticationManager</interfacename> is configured using the namespace. </para> - <section> + <section xml:id="ns-password-encoder"> <title>Adding a Password Encoder Often your password data will be encoded using a hashing algorithm. This is supported by the <password-encoder> element. With SHA encoded passwords,