Skip to content

Commit a9c8b35

Browse files
dadikovirwinch
authored andcommitted
Document NoOpPasswordEncoder will not be removed
This commit adds extension to deprecation notice. Fixes gh-8506
1 parent da9eca2 commit a9c8b35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
* @deprecated This PasswordEncoder is not secure. Instead use an
2727
* adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
2828
* SCryptPasswordEncoder. Even better use {@link DelegatingPasswordEncoder} which supports
29-
* password upgrades.
29+
* password upgrades. There are no plans to remove this support. It is deprecated to indicate that
30+
* this is a legacy implementation and using it is considered insecure.
3031
*/
3132
@Deprecated
3233
public final class NoOpPasswordEncoder implements PasswordEncoder {

0 commit comments

Comments
 (0)