public class OAuth2FormLoginAuthenticationProvider
extends org.springframework.security.authentication.dao.DaoAuthenticationProvider
Description: OAuth2 (Security) 表单登录 Provider
扩展的OAuth2表单登录Provider,以支持表单登录的验证码
DaoAuthenticationProvider| 构造器和说明 |
|---|
OAuth2FormLoginAuthenticationProvider(CaptchaRendererFactory captchaRendererFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) |
boolean |
supports(Class<?> authentication) |
createSuccessAuthentication, doAfterPropertiesSet, getPasswordEncoder, getUserDetailsService, retrieveUser, setPasswordEncoder, setUserDetailsPasswordService, setUserDetailsServiceafterPropertiesSet, authenticate, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCachepublic OAuth2FormLoginAuthenticationProvider(CaptchaRendererFactory captchaRendererFactory)
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
throws org.springframework.security.core.AuthenticationException
additionalAuthenticationChecks 在类中 org.springframework.security.authentication.dao.DaoAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> authentication)
supports 在接口中 org.springframework.security.authentication.AuthenticationProvidersupports 在类中 org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderCopyright © 2023 Dromara. All rights reserved.