@Component public class CustomAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| 构造器和说明 |
|---|
CustomAuthenticationProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
boolean |
supports(Class<?> aClass) |
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate 在接口中 org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> aClass)
supports 在接口中 org.springframework.security.authentication.AuthenticationProviderCopyright © 2018–2022 Alibaba Group. All rights reserved.