1
0
mirror of synced 2026-08-06 10:18:52 +00:00

Improve PasswordEncoder deprecated notices

Fixes: gh-5296
This commit is contained in:
Rob Winch
2018-05-03 15:13:06 -05:00
parent 9b722a9c85
commit a5dc48f9d9
5 changed files with 11 additions and 5 deletions
@@ -326,6 +326,8 @@ public class User implements UserDetails, CredentialsContainer {
* @deprecated Using this method is not considered safe for production, but is
* acceptable for demos and getting started. For production purposes, ensure the
* password is encoded externally. See the method Javadoc for additional details.
* There are no plans to remove this support. It is deprecated to indicate
* that this is considered insecure for production purposes.
*/
@Deprecated
public static UserBuilder withDefaultPasswordEncoder() {