类 OAuth2FormLoginAuthenticationProvider

java.lang.Object
org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
org.springframework.security.authentication.dao.DaoAuthenticationProvider
cn.herodotus.engine.oauth2.authentication.provider.OAuth2FormLoginAuthenticationProvider
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.authentication.AuthenticationProvider

public class OAuth2FormLoginAuthenticationProvider extends org.springframework.security.authentication.dao.DaoAuthenticationProvider

Description: OAuth2 (Security) 表单登录 Provider

扩展的OAuth2表单登录Provider,以支持表单登录的验证码

作者:
: gengwei.zheng
另请参阅:
  • DaoAuthenticationProvider
Date:
: 2022/4/12 10:21
  • 字段概要

    从类继承的字段 org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider

    hideUserNotFoundExceptions, logger, messages
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
     
    boolean
    supports(Class<?> authentication)
     

    从类继承的方法 org.springframework.security.authentication.dao.DaoAuthenticationProvider

    createSuccessAuthentication, doAfterPropertiesSet, getPasswordEncoder, getUserDetailsService, retrieveUser, setPasswordEncoder, setUserDetailsPasswordService, setUserDetailsService

    从类继承的方法 org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider

    afterPropertiesSet, authenticate, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • OAuth2FormLoginAuthenticationProvider

      public OAuth2FormLoginAuthenticationProvider(CaptchaRendererFactory captchaRendererFactory)
  • 方法详细资料

    • additionalAuthenticationChecks

      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.DaoAuthenticationProvider
      抛出:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class<?> authentication)
      指定者:
      supports 在接口中 org.springframework.security.authentication.AuthenticationProvider
      覆盖:
      supports 在类中 org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider