com.atlassian.bamboo.filter
Class LicenseFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractHttpFilter
      extended by com.atlassian.bamboo.filter.LicenseFilter
All Implemented Interfaces:
javax.servlet.Filter

public class LicenseFilter
extends com.atlassian.core.filters.AbstractHttpFilter

A Filter to check if the license is valid. Redirect to an update license page if it is not. \


Constructor Summary
LicenseFilter()
           
 
Method Summary
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 BambooLicenseManager getBambooLicenseManager()
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseFilter

public LicenseFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
java.io.IOException
javax.servlet.ServletException

getBambooLicenseManager

public BambooLicenseManager getBambooLicenseManager()


Copyright © 2011 Atlassian. All Rights Reserved.