public class JSONAESCookieBackend extends CookieBackendSupport
Parameters :
cookieName, domain, maxAge, PARAM_COOKIEDOMAIN, PARAM_COOKIEMAXAGE, PARAM_COOKIENAME, PARAM_COOKIEPATH, pathTYPE_BACKEND, TYPE_REQUEST_PROCESSOR| Constructor and Description |
|---|
JSONAESCookieBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the backend.
|
String |
getId()
Get backend id.
|
void |
init(Map<String,String> config)
Loads key and iv for encryption and performs normal init.
|
ISessionData |
restore(javax.servlet.http.HttpServletRequest request)
Restores a session from the backend.
|
void |
save(ISessionData session,
List<String> dirtyAttributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves a session to the backend.
|
getCookieData, getCookieData, getFullRemoteAddr, isBufferingRequired, setCookieData, setCookieData, setCookieNamepublic void destroy()
IPlugindestroy in interface IPlugindestroy in class CookieBackendSupportcom.capgemini.stateless.backend.plaincookie.ISessionBackend#destroy()public String getId()
IPlugingetId in interface IPlugingetId in class CookieBackendSupportcom.capgemini.stateless.backend.plaincookie.ISessionBackend#getId()public void init(Map<String,String> config) throws Exception
init in interface IPlugininit in class CookieBackendSupportExceptioncom.capgemini.stateless.backend.plaincookie.ISessionBackend#init(java.util.Map)public ISessionData restore(javax.servlet.http.HttpServletRequest request)
ISessionBackendrestore in interface ISessionBackendrestore in class CookieBackendSupportcom.capgemini.stateless.backend.plaincookie.ISessionBackend#restore(javax.servlet.http.HttpServletRequest)public void save(ISessionData session, List<String> dirtyAttributes, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
ISessionBackendsave in interface ISessionBackendsave in class CookieBackendSupportsession - Current session.dirtyAttributes - list of attributes that were added/changed/removed during the
current request.request - Current request.response - Current response.IOExceptionCookieBackendSupport.save(net.sourceforge.statelessfilter.backend.ISessionData,
java.util.List, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)Copyright © 2009–2013. All rights reserved.