Sharing remote session stores
All web.xml files that define a MySQLSessionStoreServlet or a PostgreSQLSessionStoreServlet, and share the same database (tables) must meet the following conditions:
- All separate web.xml files used by the same nevisProxy instance, which configures a shared remote session store, must have different application ID configured
- Each nevisProxy instance, which shares one or multiple session store, must use the same web.xml file(s) configured for the shared remote session store(s). The other web.xml files, which does not configure a shared remote session store, can differ from each other
- All web.xml files with the same application ID must fulfill the following conditions:
- They must have equally configured Esauth4ConnectorServlets
- They must have equally configured WebSocketServlets
- All LuaFilters including a defined
Script.NotifySessionInvalidateFunctionName
orScript.GlobalStoreAttributeTimeoutFunctionName
attribute must be configured in the same way - All SessionManagementFilters with a custom session type must be configured in the same way. The session type is defined by the filter attribute
Identification
- All HttpConnectorServlets with a set logout URI must be configured in the same way. The logout URI is defined by the servlet attribute
LogoutURI
To set an Application ID, you have to configure it in the web.xml:
<!--Configuring application ID-->
<context-param>
<param-name>application-id</param-name>
<param-value>proxySampleConf</param-value>
</context-param>