CredentialsMatcher接口主要是用来实现认证的匹配的,它里面共有一个方法,先对其解析如下:
boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info);//做匹配
本文主要介绍了CredentialsMatcher接口的功能,它是用于认证匹配的核心组件。该接口包含一个方法,用于比较AuthenticationToken对象与AuthenticationInfo对象,以判断认证是否成功。
CredentialsMatcher接口主要是用来实现认证的匹配的,它里面共有一个方法,先对其解析如下:
boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info);//做匹配
2809
765

被折叠的 条评论
为什么被折叠?