Class PentahoWebContextFilter
- java.lang.Object
-
- org.pentaho.platform.web.http.filters.PentahoWebContextFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class PentahoWebContextFilter extends Object implements javax.servlet.Filter
If the request is searching for a webcontext.js, it writes out the content of the webcontext.js
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.pentaho.platform.api.engine.ICacheManager
cache
static String
PARAM_SSO_ENABLED
static String
WEB_CONTEXT_JS
-
Constructor Summary
Constructors Constructor Description PentahoWebContextFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCustomInfo(OutputStream out)
protected void
close(OutputStream out)
void
destroy()
void
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
String
getSsoEnabled()
void
init(javax.servlet.FilterConfig filterConfig)
void
setSsoEnabled(String ssoEnabled)
-
-
-
Field Detail
-
WEB_CONTEXT_JS
public static final String WEB_CONTEXT_JS
- See Also:
- Constant Field Values
-
PARAM_SSO_ENABLED
public static final String PARAM_SSO_ENABLED
- See Also:
- Constant Field Values
-
cache
protected static org.pentaho.platform.api.engine.ICacheManager cache
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
close
protected void close(OutputStream out)
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
addCustomInfo
protected void addCustomInfo(OutputStream out) throws IOException
- Throws:
IOException
-
getSsoEnabled
public String getSsoEnabled()
-
setSsoEnabled
public void setSsoEnabled(String ssoEnabled)
-
-