T - public interface AuthenticationProvider<T extends Authentication>
| Modifier and Type | Method and Description |
|---|---|
Authentication |
authenticate(T authentication)
进行身份验证
|
boolean |
supports(java.lang.Class<? extends Authentication> authentication)
判断是否支持此身份认证逻辑
|
boolean supports(java.lang.Class<? extends Authentication> authentication)
authentication - Authentication authenticate(T authentication) throws AuthenticationException
authentication - AuthenticationException