Password Troubleshooting Reference Fix

Correct the package to NoOpPasswordEncoder within the reference

Fixes: gh-4965
This commit is contained in:
Rob Winch 2018-01-18 08:25:52 -06:00
parent 450600cbb8
commit 65c3862da9
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ if you are using XML configuration, you can expose a `PasswordEncoder` with the
[source,xml]
----
<b:bean id="passwordEncoder"
class="org.springframework.security.crypto.NoOpPasswordEncoder" factory-method="getInstance"/>
class="org.springframework.security.crypto.password.NoOpPasswordEncoder" factory-method="getInstance"/>
----
Alternatively, you can prefix all of your passwords with the correct id and continue to use `DelegatingPasswordEncoder`.