Commit 2410790a authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

dropping sessionListener

parent 7491a41f
......@@ -52,6 +52,8 @@ public class AuthenticationSuccessHandlerImpl implements AuthenticationSuccessHa
"User " + authentication.getName() + " successfully logged in using " + method + " authentication method");
Map<String, Object> result = new TreeMap<>();
result.put("info", "Login successful.");
result.put("token", request.getSession().getId());
package lcsb.mapviewer.web.config;
import lcsb.mapviewer.common.Configuration;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class SessionListener implements HttpSessionListener {
public void sessionCreated(HttpSessionEvent se) {
public void sessionDestroyed(HttpSessionEvent se) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment