@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class LicenseEnforcerFilter
extends java.lang.Object
implements javax.servlet.Filter
LICENSE_PATH
filter parameter configured in the 'web.xml' file. The path is relative to
the root of the archive. If not set, the default location is
LICENSE_DEFAULT_PATH
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LICENSE_DEFAULT_PATH
The default path for the license file.
|
static java.lang.String |
LICENSE_PATH
The filter parameter specifying the license path.
|
Constructor and Description |
---|
LicenseEnforcerFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain)
The method that takes care of executing the request on behalf of the
correct user.
|
void |
init(javax.servlet.FilterConfig config)
Initializes the filter.
|
public static final java.lang.String LICENSE_PATH
public static final java.lang.String LICENSE_DEFAULT_PATH
public void destroy()
destroy
in interface javax.servlet.Filter
Filter.destroy()
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
java.io.IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.