Class TenantGateFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    @Deprecated(forRemoval=true)
    public class TenantGateFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 8.6
    Allows setting a permit for HTTP workers for the ThreadLocalTenantGate despite of its state.

    This can be used to let setup code modify tenanted resources before they're made available to a broader audience (vacant instance).

    Since:
    5.6
    • Constructor Summary

      Constructors 
      Constructor Description
      TenantGateFilter()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void doFilter​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void init​(javax.servlet.FilterConfig filterConfig)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter

        destroy, doFilter
    • Constructor Detail

      • TenantGateFilter

        public TenantGateFilter()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
                  throws javax.servlet.ServletException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        init in interface javax.servlet.Filter
        Overrides:
        init in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        javax.servlet.ServletException
      • doFilter

        protected void doFilter​(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                javax.servlet.FilterChain filterChain)
                         throws IOException,
                                javax.servlet.ServletException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        doFilter in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        IOException
        javax.servlet.ServletException