}
sessionMappingStorage.addSessionById(token, session);
}
public void destroySession(final WebContext context) {
final J2EContext j2eContext = (J2EContext) context;
HttpServletRequest request = j2eContext.getRequest();
final String logoutMessage = CommonUtils.safeGetParameter(request, this.logoutParameterName, this.safeParameters);
logger.trace("Logout request:\n{}", logoutMessage);
final String token = XmlUtils.getTextForElement(logoutMessage, "SessionIndex");
if (CommonUtils.isNotBlank(token)) {