public class IlrRemoteSessionFilter
extends java.lang.Object
implements javax.servlet.Filter
IlrSession.beginUsage() and IlrSession.endUsage() methods
on the IlrSession object bound with the name "ilog.rules.teamserver.session" in the HttpSession.
This filter must be declared in the WEB-INF/web.xml file of the client web application in the right place using:
SESSION_KEY can be used to bound the IlrSession object in the HttpSession with the right name.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SESSION_KEY
The constant used to retrieve the
IlrSession object in the HttpSession. |
| Constructor and Description |
|---|
IlrRemoteSessionFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain) |
protected IlrSession |
getSession(javax.servlet.ServletRequest servletRequest) |
void |
init(javax.servlet.FilterConfig config) |
public static final java.lang.String SESSION_KEY
IlrSession object in the HttpSession.public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterpublic void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOExceptionjavax.servlet.ServletExceptionprotected IlrSession getSession(javax.servlet.ServletRequest servletRequest)
© Copyright IBM Corp. 1987, 2017