Class OAuth2ClientAuthenticationFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.security.oauth2.server.authorization.web.OAuth2ClientAuthenticationFilter
All Implemented Interfaces:
jakarta.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public final class OAuth2ClientAuthenticationFilter extends org.springframework.web.filter.OncePerRequestFilter
A Filter that processes an authentication request for an OAuth 2.0 Client.
Since:
7.0
See Also:
  • Constructor Details

    • OAuth2ClientAuthenticationFilter

      public OAuth2ClientAuthenticationFilter(AuthenticationManager authenticationManager, RequestMatcher requestMatcher)
      Constructs an OAuth2ClientAuthenticationFilter using the provided parameters.
      Parameters:
      authenticationManager - the AuthenticationManager used for authenticating the client
      requestMatcher - the RequestMatcher used for matching against the HttpServletRequest
  • Method Details