Closed nathandunn closed 9 years ago
Related to this:
http://stackoverflow.com/questions/8882153/shiro-session-already-invalidated
But the grails / shiro plugin somehow doesn't work quite correctly.
My guess is that it has to do with the websocket thread versus the AJAX posts (which work fine).
For now passing the username through the JSON Object works fine, though not my preference.
This is kind of related, though it uses the Atmosphere framework:
https://jfarcand.wordpress.com/2011/07/13/quick-tip-using-apache-shiro-with-your-atmospheres-websocketcomet-app/
This is more or less what I did, but passing it as a JSON object instead.
working
Related to this:
http://stackoverflow.com/questions/8882153/shiro-session-already-invalidated
But the grails / shiro plugin somehow doesn't work quite correctly.
My guess is that it has to do with the websocket thread versus the AJAX posts (which work fine).
For now passing the username through the JSON Object works fine, though not my preference.