天天看點

CredentialsMatcher接口

CredentialsMatcher接口主要是用來實作認證的比對的,它裡面共有一個方法,先對其解析如下:

boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info);//做比對