Skip to content

Commit 2ceb704

Browse files
committed
[docs update] 修复错用的继承和实现
1 parent fd06ce3 commit 2ceb704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/system-design/framework/spring/spring-knowledge-and-questions-summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ Spring Security 重要的是实战,这里仅对小部分知识点进行总结
766766

767767
如果我们需要保存密码这类敏感数据到数据库的话,需要先加密再保存。
768768

769-
Spring Security 提供了多种加密算法的实现,开箱即用,非常方便。这些加密算法实现类的父类是 `PasswordEncoder` ,如果你想要自己实现一个加密算法的话,也需要继承 `PasswordEncoder`。
769+
Spring Security 提供了多种加密算法的实现,开箱即用,非常方便。这些加密算法实现类的接口是 `PasswordEncoder` ,如果你想要自己实现一个加密算法的话,也需要实现 `PasswordEncoder` 接口
770770

771771
`PasswordEncoder` 接口一共也就 3 个必须实现的方法。
772772

0 commit comments

Comments
 (0)