Class TurAuthTokenHeaderFilter

Object
GenericFilterBean
OncePerRequestFilter
TurAuthTokenHeaderFilter
All Implemented Interfaces:
Filter, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, EnvironmentCapable, ServletContextAware

@Component public class TurAuthTokenHeaderFilter extends OncePerRequestFilter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class OncePerRequestFilter

    ALREADY_FILTERED_SUFFIX

    Fields inherited from class GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    TurAuthTokenHeaderFilter(TurUserRepository turUserRepository, TurDevTokenRepository turDevTokenRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doFilterInternal(HttpServletRequest request, @NotNull HttpServletResponse response, @NotNull FilterChain filterChain)
     

    Methods inherited from class OncePerRequestFilter

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

    Methods inherited from class GenericFilterBean

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

    Methods inherited from class Object

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

  • Constructor Details

  • Method Details

    • doFilterInternal

      protected void doFilterInternal(HttpServletRequest request, @NotNull @NotNull HttpServletResponse response, @NotNull @NotNull FilterChain filterChain) throws ServletException, IOException
      Specified by:
      doFilterInternal in class OncePerRequestFilter
      Throws:
      ServletException
      IOException