public class LicenceFilter
extends org.springframework.web.filter.OncePerRequestFilter
Redirect to an update license page if it is not.
Modifier and Type | Field and Description |
---|---|
protected static String |
UPDATE_LICENSE_DEFAULT_PATH |
Constructor and Description |
---|
LicenceFilter() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.FilterChain filterChain) |
CrowdLicenseManager |
getCrowdLicenseManager() |
void |
setCrowdLicenseManager(CrowdLicenseManager crowdLicenseManager) |
protected boolean |
shouldNotFilter(javax.servlet.http.HttpServletRequest httpServletRequest) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
protected static final String UPDATE_LICENSE_DEFAULT_PATH
public void afterPropertiesSet() throws javax.servlet.ServletException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.web.filter.GenericFilterBean
javax.servlet.ServletException
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
IOException
protected boolean shouldNotFilter(javax.servlet.http.HttpServletRequest httpServletRequest) throws javax.servlet.ServletException
shouldNotFilter
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
public CrowdLicenseManager getCrowdLicenseManager()
public void setCrowdLicenseManager(CrowdLicenseManager crowdLicenseManager)
Copyright © 2021 Atlassian. All rights reserved.