selpia / gwteventservice

Automatically exported from code.google.com/p/gwteventservice
Other
0 stars 2 forks source link

GWT Eventservice creates two sessions #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set in properties: eventservice.connection.id.generator = 
de.novanic.eventservice.service.connection.id.SessionExtendedConnectionIdGenerat
or
2. login using the spring framework
3. Start the GWT Eventservice

What is the expected output? What do you see instead?
Expected: One session is created with a logged in user.
Instead: Two sessions are created, I guess one by GWT EventService and one by 
Spring

What version of the product are you using? On what operating system?
I use the latest GWT Eventservice build
I use the Spring framework

Original issue reported on code.google.com by xavierra...@gmail.com on 1 Mar 2013 at 10:50

GoogleCodeExporter commented 9 years ago
If it isn't possible to make this one session, how would I make a good working 
solution? You don't want to store the session ID of the 
RemoteEventServiceServlet. It's too hacky and introduces secutiry holes, yet 
this is the only solution I could find. How would one combine a Spring 
authenticated HttpSession with the GWT HttpSession in a safe way? 

Original comment by xavierra...@gmail.com on 1 Mar 2013 at 10:44