CredentialsMatcher接口主要是用来实现认证的匹配的,它里面共有一个方法,先对其解析如下:
boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info);//做匹配
CredentialsMatcher接口主要是用来实现认证的匹配的,它里面共有一个方法,先对其解析如下:
boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info);//做匹配