Class OAuth2TokenEndpointFilterWrapper

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
io.jmix.sessions.endpoint.OAuth2TokenEndpointFilterWrapper
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 class OAuth2TokenEndpointFilterWrapper extends org.springframework.web.filter.OncePerRequestFilter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
     
    protected org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter
     
     
    protected org.springframework.beans.factory.ObjectProvider<SessionData>
     

    Fields inherited from class org.springframework.web.filter.OncePerRequestFilter

    ALREADY_FILTERED_SUFFIX

    Fields inherited from class org.springframework.web.filter.GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    OAuth2TokenEndpointFilterWrapper(org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter delegate, RequestLocaleProvider requestLocaleProvider, org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.web.authentication.AuthenticationSuccessHandler
     
    protected void
    doFilterInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain filterChain)
     

    Methods inherited from class org.springframework.web.filter.OncePerRequestFilter

    doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch

    Methods inherited from class org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • delegate

      protected org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter delegate
    • requestLocaleProvider

      protected RequestLocaleProvider requestLocaleProvider
    • sessionDataProvider

      protected org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider
    • authorizationService

      protected org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService
  • Constructor Details

    • OAuth2TokenEndpointFilterWrapper

      public OAuth2TokenEndpointFilterWrapper(org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter delegate, RequestLocaleProvider requestLocaleProvider, org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService)
  • Method Details

    • createSuccessHandler

      protected org.springframework.security.web.authentication.AuthenticationSuccessHandler createSuccessHandler()
    • doFilterInternal

      protected void doFilterInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain filterChain) throws jakarta.servlet.ServletException, IOException
      Specified by:
      doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
      Throws:
      jakarta.servlet.ServletException
      IOException