@Deprecated public class HybrisInitFilter extends RootRequestFilter
Filter that will do initialization work for each web application which include:
Install the filter in your web.xml file as follows. Note that the mapping should be changed according to your needs.
<filter>
<filter-name>hybrisinitfilter</filter-name>
<filter-class>de.hybris.platform.util.HybrisInitFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>hybrisinitfilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>hybrisinitfilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
RootRequestFilter.HybrisGZIPResponseWrapper, RootRequestFilter.HybrisRequestWrapper, RootRequestFilter.HybrisResponseWrapper, RootRequestFilter.HybrisSessionWrapper, RootRequestFilter.Params, RootRequestFilter.TenantInformationDEFAULT_MATCHER_PATTERN, DEFAULT_TENANTID_COOKIE_NAME, SERVLET_COMPATIBILITY, TENANT_ATTRIBUTE_MAP_PREFIX| Constructor and Description |
|---|
HybrisInitFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doPostRequest(HttpServletRequest request,
HttpServletResponse response)
Deprecated.
This method is called once after the chained request is called.
|
boolean |
doPreRequest(HttpServletRequest request,
HttpServletResponse response)
Deprecated.
This method is called once before the chained request is called.
|
protected JaloSession |
getJaloSession(HttpServletRequest request,
HttpServletResponse response,
boolean pre)
Deprecated.
|
protected String |
getLoginCookieName()
Deprecated.
|
void |
init(FilterConfig filterConfig)
Deprecated.
|
protected String |
matchTenantSystemIDToken(String uri)
Deprecated.
|
protected void |
notifyExtensions(HttpServletRequest request,
HttpServletResponse response,
boolean pre)
Deprecated.
|
adjustEncodings, assertValidTenantID, assignCurrentRequestToThread, assureNeverCalledBefore, clearCurrentRequestFromThread, destroy, doFilter, doForward, getCurrentTenant, getFilterConfig, getSlaveDataSourceID, getTenantInformationFrom, getTenantSystemID, getURI, handleSlaveSettings, handleTenantID, isSkippedInitSystemTest, matchTenantSystemIDHost, setSkippedInitSystemTest, setSlaveDataSourceID, setTenantID, touchHttpSession, wrapRequest, wrapResponse, writeShutDownPagepublic void init(FilterConfig filterConfig)
throws ServletException
init in class RootRequestFilterServletExceptionpublic boolean doPreRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
RootRequestFilterdoPreRequest in class RootRequestFilterServletExceptionprotected void notifyExtensions(HttpServletRequest request,
HttpServletResponse response,
boolean pre)
public void doPostRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
RootRequestFilterdoPostRequest in class RootRequestFilterServletExceptionprotected String getLoginCookieName()
protected JaloSession getJaloSession(HttpServletRequest request, HttpServletResponse response, boolean pre) throws JaloConnectException
JaloConnectExceptionprotected String matchTenantSystemIDToken(String uri)
matchTenantSystemIDToken in class RootRequestFilterCopyright © 2017 SAP SE. All Rights Reserved.